copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2002.537 -- Microsoft Security Bulletin MS02-054 -- Unchecked Buffer in File Decompression Functions Could Lead to Code Execution (Q329048)

Date: 03 October 2002

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
             AUSCERT External Security Bulletin Redistribution

           ESB-2002.537 -- Microsoft Security Bulletin MS02-054
    Unchecked Buffer in File Decompression Functions Could Lead to Code
                            Execution (Q329048)
                              03 October 2002

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                Compressed Folders
Vendor:                 Microsoft
Operating System:       Windows XP
                        Windows ME
                        Windows 98 with Plus! Pack
Impact:                 Create Arbitrary Files
                        Execute Arbitrary Code/Commands
                        Denial of Service

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----

- - ----------------------------------------------------------------------
Title:      Unchecked Buffer in File Decompression Functions Could
            Lead to Code Execution (Q329048)
Date:       02 October 2002
Software:   Microsoft Windows 98 with Plus! Pack, Windows Me,
            or Windows XP 
Impact:     Two vulnerabilities, the most serious of which could
            run code of attacker?s choice 
Max Risk:   Moderate
Bulletin:   MS02-054

Microsoft encourages customers to review the Security Bulletin at: 
http://www.microsoft.com/technet/security/bulletin/MS02-054.asp.
- - ----------------------------------------------------------------------

Issue:
======
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. 

Risk Rating:
============
 - Internet systems: Low
 - Intranet systems: Low
 - Client systems: Moderate

Patch Availability:
===================
 - A patch is available to fix this vulnerability. Please read the 
   Security Bulletin at
   http://www.microsoft.com/technet/security/bulletin/ms02-054.asp
   for information on obtaining this patch.

Acknowledgment:
===============
 - Joe Testa of Rapid7, Inc. (http://www.rapid7.com/) for reporting
   the Unchecked Buffer in Zipped File Handling vulnerability. 
 - zen-parse for reporting the Incorrect Target Path for Zipped
   File Decompression vulnerability.

- - ---------------------------------------------------------------------

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS
ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY
DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION
OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
SO THE FOREGOING LIMITATION MAY NOT APPLY.

- -----BEGIN PGP SIGNATURE-----
Version: PGP 7.1

iQEVAwUBPZtuf40ZSRQxA/UrAQG9UggAobqxUwud4RqTDqGaE3vAXX/iz+VJ7noS
YNHPf6CPmr0HKu7exMJQDWpGR9Zn2Il/YVDCbPTi+vorkFWLkuKv17z7T9Sg9kxw
NBEzI5Xos+VNafOFIzRr5+dy5ntULUnc4N/5NtnBCrTVo6PVByoeRmH2Z6luDRhp
nbNa47MQ/3bxSAhkhypZuCiQbQ/gB44X4WdzA2M4K7kKPRKCClKfpR6VdRGSzEwO
z2GUBkdf1z67U78wejfLCBYUMuGVCwFObY5rr2eXAmN8WJvRMxiHVNdvBSNfgjO1
oT5oIZOu5s8xbgtSW5vPxbMnAooUnr+IyFY+GKORCBH9wPAH2Tw5rg==
=CpNl
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  The decision to use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the original authors to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/Information/advisories.html

If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business 
                hours which are GMT+10:00 (AEST).  On call after hours 
                for member emergencies only.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBPZx69ih9+71yA2DNAQGgEgP/eKBXuzbBDnUJrjPfGj8aeeP/zKIxXnER
tgkTK0MHeNFR5QS5EQlOLpUq1SQokKJMpX/Xj7MjeDnnseU0DC2vYQ91eRUa82Vi
VunEZYRJ2VCuPcmWJhaslc7xi/gFXXsTm39wpPlkkFA2nsfoarak6UE/bVN/+Uc/
lkg99h5TGgo=
=H8pe
-----END PGP SIGNATURE-----