Australia's Leading Computer Emergency Response Team

ESB-2002.709 -- Microsoft Security Bulletin MS02-072 -- Unchecked Buffer in Windows Shell Could Enable System Compromise (Q329390)
Date: 19 December 2002
Original URL: http://www.auscert.org.au/render.html?cid=1&it=2642

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

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

           ESB-2002.709 -- Microsoft Security Bulletin MS02-072
     Unchecked Buffer in Windows Shell Could Enable System Compromise
                                 (Q329390)
                             19 December 2002

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

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

Product:                Windows Shell
Vendor:                 Microsoft
Operating System:       Windows XP Home Edition
                        Windows XP Professional
                        Windows XP Tablet PC Edition
                        Windows XP Media Center Edition
Platform:               i386
                        IA-64
Impact:                 Administrator Compromise
                        Execute Arbitrary Code/Commands
                        Denial of Service
Access Required:        Remote

Comment: The Microsoft PGP signature is bad for this bulletin, however
         the details have been verified against the official Microsoft
         web site.

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

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

- - ----------------------------------------------------------------------
Title:      Unchecked Buffer in Windows Shell Could Enable System 
Compromise (329390)
Date:       18 December 2002
Software:   Microsoft Windows XP
Impact:     Run code of an attacker's choice 
Max Risk:   Critical
Bulletin:   MS02-072

Microsoft encourages customers to review the Security Bulletins at: 
http://www.microsoft.com/technet/security/bulletin/MS02-072.asp
http://www.microsoft.com/security/security_bulletins/ms02-072.asp
- - ----------------------------------------------------------------------

Issue:
======
The Windows Shell is responsible for providing the basic framework
of the Windows user interface experience. It is most familiar to
users as the Windows Desktop, but also provides a variety of other
functions to help define the user's computing session, including
organizing files and folders, and providing the means to start
applications. 

An unchecked buffer exists in one of the functions used by the
Windows Shell to extract custom attribute information from audio
files. A security vulnerability results because it is possible
for a malicious user to mount a buffer overrun attack and attempt
to exploit this flaw. 

An attacker could seek to exploit this vulnerability by creating
an .MP3 or .WMA file that contained a corrupt custom attribute
and then host it on a website, on a network share, or send it via
an HTML email. If a user were to hover his or her mouse pointer
over the icon for the file (either on a web page or on the local
disk), or open the shared folder where the file was stored, the
vulnerable code would be invoked. An HTML email could cause the
vulnerable code to be invoked when a user opened or previewed the
email. A successful attack could have the effect of either causing
the Windows Shell to fail, or causing an attacker's code to run on
the user's computer in the security context of the user.


Mitigating Factors:
====================
 - The vulnerability lies in the Windows Shell, rather than Windows
   Media Player. As a result, playing an audio file with Windows
   Media Player would not pose any additional risk. 

 - Outlook 98 and 2000 (after installing the Outlook Email Security
   Update),Outlook 2002, and Outlook Express 6 all open HTML mail in 
   the Restricted Sites Zone. Customers who are using these products
   and who have also installed Windows XP Service Pack 1 or any 
   recent security patch for Internet Explorer that disables frames
   in the Restricted Sites zone would not be at risk from automated
   email-borne attacks. However, these customers could still be
   attacked if they choose to click on a hyperlink in a malicious
   HTML email.
 
 - In the case where an attacker's code was executed, the code 
   would run in the security context of the user. As a result,
   any limitations on the user's ability would also restrict the
   actions that an attacker's code could take. 

Risk Rating:
============
 - Windows XP: Critical 

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

Acknowledgment:
===============
 - Foundstone Research Labs (http://www.foundstone.com)

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

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

iQEVAwUBPgDwqI0ZSRQxA/UrAQFfkAf/fqPzXK8/xx4lroE9OW5FrcJ3t8ljtOcx
jEWZbBxSxdNuBcHTsDdafIYQLpGNafl8EhwLGtUHLm9AY8O/hxrYuf5ag/6ayP7R
095icpB73J9kwbNESeR2A/DnlCXcP7yuQIfcAlA2RlbeTBXLcUarodIFzGOpVpY8
ACyYYK6GxptjsG//7blO8u7YLfSVZv/vbJsUk0Nps/lXyJdoL5hiyN7fQ0eZnqxH
teQXr1t7RWLyymPNYyiYI+XLt6Y7AgO3Nog9XuXKFJ0SPV5t1/ZbrJDCRvyaFEIu
+ARkFii2mPGTo5VO8ez13JHl8iiN645zKfqvM+iI5Kk8OG0DoBrZgw==
=CFpx
- -----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 author\'s website 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/render.html?cid=1980

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: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBPgHkFCh9+71yA2DNAQFZCQP/cOuZWooyIP0aIMEO1fSzhBS5PgtQ8UNT
Ke1XSIv47Dg6n2D3zYcaH2o12aFuLWPcmQQi+6cFMKzkBchFr2mW0ED9ZHbPzcwW
Wzw1WfWAkKFA4IsRNU/Kd7pumtgRlDCZq99t2KjICqxxki8/oE1XH/aeGvb4FmZI
w0gEghLejDk=
=QWhJ
-----END PGP SIGNATURE-----