SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#932283

Microsoft Internet Explorer HTML rendering engine contains buffer overflow processing SRC attribute of HTML <EMBED> directive

Overview

The Microsoft Internet Explorer HTML rendering engine contains a vulnerability in its handling of the SRC attribute of the HTML <EMBED> directive. An attacker who is able to convince a user to read a malicious HTML file may be able to crash Internt Explorer or execute arbitrary code with the user's privileges.

I. Description

Web pages and HTML email messages typically contain HTML text, but may include other documents using the <EMBED> directive. For example, a MIDI sound file might be embedded in a web page with the following HTML code:

<EMBED SRC="/path/sound.mid" AUTOSTART="true">

SECURITY.NNOV has reported that the Internet Explorer HTML rendering engine (mshtml.dll) does not properly handle the SRC attribute of the <EMBED> directive. An HTML document, such as a web page or HTML email message, containing a crafted SRC attribute can trigger a buffer overflow, executing code with the privileges of the user running the rendering engine. Microsoft Internet Explorer, Outlook, Outlook Express, compiled HTML help files (.chm), and other email clients and applications that use the Internet Explorer HTML rendering engine may be vulnerable. Note that Internet Explorer for Macintosh and Internet Explorer for Unix are not vulnerable.

This vulnerability is also addressed in CERT Advisory CA-2002-04.

II. Impact

By convincing a user to view a malicious HTML document, an attacker could cause the Internet Explorer HTML rendering engine to crash or execute arbitrary code. This technique could be used to distribute viruses, worms, or other malicious code. Any code executed through this vulnerability would run with the privileges of the user who viewed the HTML document.

III. Solution

Apply Patch

Apply the appropriate patch as referenced in Microsoft Security Advisory MS02-005.

Disable "Run ActiveX Controls and Plugins"

In Internet Explorer, a plugin is used to view, play, or otherwise process embedded documents. The execution of embedded documents is controlled by the "Run ActiveX Controls and Plugins" security option. Disabling this option will prevent embedded documents from being processed, and therefore prevent this vulnerability from being exploited. At a minimum, disable the "Run ActiveX Controls and Plugins" security option in the Internet zone and the zone used by Outlook or Outlook Express. Instructions on how to set the security level for the Internet zone to "High" can be found in the CERT/CC Malicious Web Scripts FAQ. In the "High" security level, the "Run ActiveX Controls and Plugins" security option is disabled.

From MS02-005:

    The vulnerability could not be exploited if the "Run ActiveX Controls and Plugins" security option were disabled in the Security Zone in which the page was rendered. This is the default condition in the Restricted Sites Zone, and can be disabled manually in any other Zone.
Apply Outlook Email Security Update

Outlook 2002 and Outlook Express 6, and Outlook 98 and 2000 with the Outlook Email Security Update applied, open email messages in the Restricted Sites Zone. The "Run ActiveX Controls and Plugins" security option is disabled by default in the Restricted Sites Zone.

Systems Affected

VendorStatusDate NotifiedDate Updated
AOL Time WarnerVulnerable29-Mar-2002
CyrusoftNot Vulnerable25-Feb-2002
LotusUnknown25-Feb-2002
MicrosoftVulnerable5-Mar-2002
QUALCOMMUnknown25-Feb-2002

References


http://www.cert.org/advisories/CA-2002-04.html
http://www.security.nnov.ru/advisories/mshtml.asp
http://www.microsoft.com/technet/security/bulletin/MS02-005.asp
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q317731
http://www.securityfocus.com/bid/4080
http://www.iss.net/security_center/static/8116.php
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/embed.asp
http://developer.netscape.com/docs/manuals/htmlguid/tags14.htm#1286379

Credit

The CERT/CC thanks ERRor and DarkZorro of domain Hell and 3APA3A of SECURITY.NNOV for reporting this issue to us.

This document was written by Art Manion and Ian A. Finlay.

Other Information

Date Public:2002-02-11
Date First Published:2002-02-14
Date Last Updated:2002-03-29
CERT Advisory:CA-2002-04
CVE-ID(s):CAN-2002-0022
NVD-ID(s):CAN-2002-0022
US-CERT Technical Alerts: 
Metric:50.49
Document Revision:109

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Copyright 2002 Carnegie Mellon University
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader