Alert: Microsoft Security Bulletin - MS02-054

From: Russ (Russ.Cooper@RC.ON.CA)
Date: 10/03/02


Date:         Wed, 2 Oct 2002 22:51:32 -0400
From: Russ <Russ.Cooper@RC.ON.CA>
To: NTBUGTRAQ@LISTSERV.NTBUGTRAQ.COM

http://www.microsoft.com/technet/security/bulletin/MS02-054.asp

Unchecked Buffer in File Decompression Functions Could Lead to Code Execution (Q329048)

Originally posted: October 02, 2002

Summary

Who should read this bulletin: Customers using Microsoft® Windows® 98 with Plus! Pack, Windows Me, or Windows XP

Impact of vulnerability: Two vulnerabilities, the most serious of which could run code of attacker's choice

Maximum Severity Rating: Moderate

Recommendation: Consider applying the patch to affected systems

Affected Software:
- Microsoft Windows 98 with Plus! Pack
- Microsoft Windows Me
- Microsoft Windows XP

Technical description:

Zipped files (files having a .zip extension) provide a means to store information in a way that uses less space on a hard disk. This is accomplished by compressing the files that are put into in the zipped file. On Windows 98 with Plus! Pack, Windows Me and Windows XP, the Compressed Folders feature allows zipped files to be treated as folders. The Compressed Folders feature can be used to create, add files to, and extract files from zipped files.

Two vulnerabilities exist in the Compressed Folders function:
- An unchecked buffer exists in the programs that handles the decompressing of files from a zipped file. A security vulnerability results because attempts to open a file with a specially malformed filename contained in a zipped file could possibly result in Windows Explorer failing, or in code of the attacker's choice being run.
- The decompression function could place a file in a directory that was not the same as, or a child of, the target directory specified by the user as where the decompressed zip files should be placed. This could allow an attacker to put a file in a known location on the users system, such as placing a program in a startup directory

Mitigating factors:
- The vulnerabilities could not be exploited without user intervention. The attacker would need to entice the user to receive, store, and open the zipped file provided by the attacker.
- The vulnerabilities could not be exploited remotely. An attacker would need to lure a user into receiving the zipped file onto the user's machine. Best practices suggest users not accept e-mail attachments from people who are not trusted, and not to download files from untrusted Internet sites.
- On Windows 98 and Windows Me, the Compressed Folders feature is not installed by default. Users who had not installed this feature would not be vulnerable.

Vulnerability identifiers:
- Unchecked Buffer in Zipped File Handling: CAN-2002-0370
- Incorrect Target Path for Zipped File Decompression: CAN-2002-1139

This email is sent to NTBugtraq automatically as a service to my subscribers. Since its programmatically created, and since its been a long time since anyone paid actual money for my programming skills, it may or may not look that good...;-]

I can only hope that the information it does contain can be read well enough to serve its purpose.

Cheers,
Russ - Surgeon General of TruSecure Corporation/NTBugtraq Editor



Relevant Pages

  • Re: Web Application Testers.
    ... > automatically alerts you to the latest security vulnerabilities please see: ... Platforms: ... A Windows/MS-DOS CGI scanner which scans for 65 remote ... Windows 2000 and Windows NT ...
    (Pen-Test)
  • Re: Web Application Testers.
    ... > automatically alerts you to the latest security vulnerabilities please see: ... Platforms: ... A Windows/MS-DOS CGI scanner which scans for 65 remote ... Windows 2000 and Windows NT ...
    (Vuln-Dev)
  • [NEWS] Buffer Overrun In RPCSS Service Could Allow Code Execution
    ... Remote Procedure Call (RPC) is a protocol used by the Windows operating ... There are three newly identified vulnerabilities in the part of RPCSS ... Service that deals with RPC messages for DCOM activation- ...
    (Securiteam)
  • SecurityFocus Microsoft Newsletter #223
    ... is a free service that gives you the ability to track and manage attacks. ... 3Com 3CDaemon Multiple Remote Vulnerabilities ... Windows Update Services ... Relevant URL: http://www.securityfocus.com/bid/12148 ...
    (Focus-Microsoft)
  • SecurityFocus Microsoft Newsletter #208
    ... Microsoft Windows CE KDatastruct Information Disclosure Vuln... ... Mambo Open Source Multiple Input Validation Vulnerabilities ... Impressions Games Lords of the Realm III Nickname Remote Den... ... Relevant URL: http://www.securityfocus.com/bid/11218 ...
    (Focus-Microsoft)