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

Microsoft Word fails to properly handle malformed strings

Overview

A vulnerability in the way Microsoft Word handles malformed Word Document streams could allow a remote, unauthenticated attacker to execute arbitrary code on a vulnerable system.

I. Description

Microsoft Word contains a memory corruption vulnerability that could be triggered when Word opens a document containing a malformed Word Document stream. Although this vulnerability was initially reported to only cause a denial-of-service, it is now believed that it can be used to execute arbitrary code.

Note that this vulnerability is actively being exploited.

More information is available in Microsoft Security Bulletin MS07-024.

II. Impact

By convincing a user to open a specially crafted Word document, a remote, unauthenticated attacker could execute arbitrary code with the privileges of the user running Word. If the user is logged in with administrative privileges, the attacker could take complete control of a vulnerable system.

III. Solution

Apply an update

This vulnerability is addressed by the updates included with Microsoft Security Bulletin MS07-024.

Do not open untrusted Word documents

Do not open unfamiliar or unexpected Word or other Office documents, particularly those hosted on web sites or delivered as email attachments. Please see Cyber Security Tip ST04-010.

Do not rely on file name extension filtering


In most cases, Windows will call Word to open a document even if the document has an unknown file extension. For example, if document.qwer contains the correct file header information, Windows will open document.qwer with Word. Filtering for common extensions (e.g., .doc, and .dot) will not detect all Word documents.

Disable automatic opening of Microsoft Office documents


By default, Microsoft Office 97 and Microsoft Office 2000 will configure Internet Explorer to automatically open Microsoft Office documents. This feature can be disabled by using the Office Document Open Confirmation Tool. Mozilla Firefox users should disable automatic opening of files, as specified in the Securing Your Web Browser document.

Open untrusted Word documents using the Microsoft Office Isolated Conversion Environment (MOICE)

Office 2003 and 2007 users may wish to consider MOICE as a tool to securely preview untrusted Office documents. According to Microsoft:

    MOICE uses the 2007 Microsoft Office system converters to convert the Office binary format files into the Office Open XML format. This process helps remove the potential threat that may exist if the document is opened in the binary format. Additionally, MOICE converts incoming files in an isolated environment. This helps protect the computer from a potential threat.
Instructions on how to install and configure MOICE are available in Microsoft KnowledgeBase article 935865 and Microsoft Security Advisory (937696).

Systems Affected

VendorStatusDate NotifiedDate Updated
Microsoft CorporationVulnerable8-May-2007

References


http://www.microsoft.com/technet/security/bulletin/ms07-024.mspx
http://www.microsoft.com/technet/security/advisory/933052.mspx
http://www.avertlabs.com/research/blog/?p=206
http://www.avertlabs.com/research/blog/?p=199
http://isc.sans.org/diary.html?storyid=1940
http://isc.sans.org/diary.html?n&storyid=2226
http://secunia.com/advisories/24122/
http://securitytracker.com/alerts/2007/Feb/1017653.html
http://www.securityfocus.com/bid/22567

Credit

This vulnerability was reported by McAfee Avert Labs.

This document was written by Jeff Gennari.

Other Information

Date Public:2007-02-09
Date First Published:2007-02-15
Date Last Updated:2007-06-15
CERT Advisory: 
CVE-ID(s):CVE-2007-0870
NVD-ID(s):CVE-2007-0870
US-CERT Technical Alerts: 
Metric:8.78
Document Revision:27

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

 
Page Corner Image
Produced 2007 by US-CERT, a government organization
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader