Vulnerability Note VU#332404

Microsoft Word fails to properly handle malformed strings

Original Release date: 15 Feb 2007 | Last revised: 15 Jun 2007

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.

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.

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.

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 (Learn More)

VendorStatusDate NotifiedDate Updated
Microsoft CorporationAffected-08 May 2007
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A

References

Credit

This vulnerability was reported by McAfee Avert Labs.

This document was written by Jeff Gennari.

Other Information

  • CVE IDs: CVE-2007-0870
  • Date Public: 09 Feb 2007
  • Date First Published: 15 Feb 2007
  • Date Last Updated: 15 Jun 2007
  • Severity Metric: 8.78
  • Document Revision: 27

Feedback

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