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#673051

Microsoft Windows opens OLE2 documents using a program specified internally by the document

Overview

Microsoft Windows may allow remote code execution through specially crafted OLE2 documents.

I. Description

Microsoft object linking and embedding (OLE) is a technology that allows applications to create and edit compound documents. Compound documents can contain embedded documents or links to documents with different formats. Microsoft Word and Excel are examples of programs that use OLE compound documents. OLE2 is version 2 of the OLE architecture.

If an OLE2 document has an unrecognized file extension, the Windows Shell/Windows Explorer may determine which application should be used to open it by inspecting the class identifier (ClassID) within the document. This design may cause unpredictable and potentially damaging behavior if an attacker crafts an OLE2 document with a ClassID that references an arbitrary application.

For instance, an attacker can create an OLE2 document with an unrecognized file extension, the ClassID for the HTML Application Host (MSHTA.exe) ClassID, and arbitrary scripting code. When a user opens this document, MSHTA.exe will be called to handle the document and, consequently, execute the embedded script.

A similar issue was previously addressed in Microsoft Security Bulletin MS05-008. Microsoft Security Bulletin MS05-016 replaces Bulletin MS05-008. Note that after applying MS05-016, certain ClassIDs may still be used to determine which application will handle a document.

II. Impact

By persuading a user to view a specially crafted OLE2 document, an attacker could execute arbitrary code with the privileges of the user.

III. Solution

Apple a patch

Microsoft has addressed this issue in Microsoft Security Bulletin MS05-016.

Disable HTML Application Host

Microsoft recommends disabling the HTML Application Host. While this workaround will not correct the underlying vulnerability, it will help block known attack vectors. Microsoft Security Bulletin MS05-016 contains details on how to disable this program.

Do not accept documents from untrusted sources

Exploitation occurs by accessing a specially crafted OLE2 documents. By only accessing documents from trusted or known sources, the chances of exploitation are reduced.

Systems Affected

VendorStatusDate NotifiedDate Updated
Microsoft CorporationVulnerable12-Apr-2005

References


http://www.microsoft.com/technet/security/bulletin/MS05-016.mspx
http://www.idefense.com/application/poi/display?id=231&type=vulnerabilities
http://secunia.com/advisories/14909
http://xforce.iss.net/xforce/xfdb/19835

Credit

Thanks to iDEFENSE and Microsoft Security for reporting this vulnerability.

This document was written by Ken MacInnis and Jeff Gennari.

Other Information

Date Public:2005-04-12
Date First Published:2005-04-12
Date Last Updated:2005-09-15
CERT Advisory: 
CVE-ID(s):CAN-2005-0063
NVD-ID(s):CAN-2005-0063
US-CERT Technical Alerts: 
Metric:6.08
Document Revision:48

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

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