Title: Unchecked Buffer in Windows Shell Could Lead to Code
Execution
Date: 07 March 2002
Software: Microsoft Windows 98, NT 4.0, 2000
Impact: Run code of attacker's choice
Max Risk: Moderate
Bulletin: MS02-014
Microsoft encourages customers to review the Security Bulletin at:
http://www.microsoft.com/technet/security/bulletin/MS02-014.asp.
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 that helps to
locate incompletely removed applications on the system.
A security vulnerability results because it is possible for a
malicious user to mount a buffer overrun attack and attempt to
exploit this flaw. A successful attack would have the affect
of either causing the Windows Shell to crash, or causing code
to run in the user's context.
Be default, this is not remotely exploitable. However, under
very unusual conditions, it could be exploited via a web page
In a default installation, this vulnerability is not remotely
exploitable and could only be exploited by introducing hostile
code to the system.
The vulnerability can be remotely exploited only on machines
that have installed and uninstalled software which implements
customer URL handlers and the software's uninstall failed to
completely remove the application from the system.
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. As a result, customers
using these products would not be at risk from email-borne
attacks.
The buffer overrun would allow code to run in the security
context of the user rather than the system. The specific
privileges the attacker could gain through this vulnerability
would therefore depend on the privileges accorded to the user.
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.