search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Microsoft Word does not check for macros contained in linked template file when opening RTF document

Vulnerability Note VU#345576

Original Release Date: 2002-09-27 | Last Revised: 2002-09-27


There is a vulnerability caused by a failure to detect macros embedded in templates used by rich text format documents opened in Microsoft Word. This vulnerability may allow the author of a malicious document to execute arbitrary commands as the user who opens the document.


Microsoft Word versions including Word 2000, Word 97, Word 98J, Word 98 for Macintosh and Word 2001 for Macintosh have a vulnerability involving the detection of macros. Macros embedded in templates referenced by rich text format documents are not properly detected by Microsoft Word, even though they will execute when the document is opened. This vulnerability was originally believed not to affect Microsoft Word 2002, but VU#295867 describes a more general form of this vulnerability that affects that version as well.

In Office 2000 and later, there are three possible settings for the macro security. The macro executes even if the user's macro security setting is "High", which would normally prevent execution. If the user's macro security setting is "Medium", the user will fail to receive a warning dialog as expected before the macro executes. The "Low" macro security setting is not recommended, and would normally allow the execution of macros. In earlier versions of Office, the security settings may differ.


The author of a malicious document may be able to execute aribtrary commands as the user who opens the document.


Apply a Patch

Microsoft has published patches correcting this vulnerability. The patches are listed in their advisory at:

This vulnerability is closely related to VU#295867, which is described in Microsoft Security Bulletin MS01-034:

VU#295867 involves the failure to detect macros embedded in Word documents in general. Users that are vulnerable to this problem may wish to review the newer bulletin and apply the patches referenced there.

Vendor Information

Expand all

Microsoft Corporation

Updated:  September 26, 2002



Vendor Statement

No statement is currently available from the vendor regarding this vulnerability.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.


Microsoft has published a security bulletin describing this vulnerability at:

CVSS Metrics

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



This document was written Cory F. Cohen.

Other Information

CVE IDs: CVE-2001-0240
Severity Metric: 10.24
Date Public: 2001-05-21
Date First Published: 2002-09-27
Date Last Updated: 2002-09-27 17:51 UTC
Document Revision: 15

Sponsored by the Department of Homeland Security Office of Cybersecurity and Communications.