Microsoft Office XP Spreadsheet Host().SaveAs() File Creation Vulnerability

BID:4398

Info

Microsoft Office XP Spreadsheet Host().SaveAs() File Creation Vulnerability

Bugtraq ID: 4398
Class: Design Error
CVE:
Remote: No
Local: Yes
Published: Mar 31 2002 12:00AM
Updated: Mar 31 2002 12:00AM
Credit: Posted to BugTraq on March 31, 2002 by Georgi Guninski.
Vulnerable: Microsoft Office XP
- Microsoft Windows 2000 Professional SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional
- Microsoft Windows 98
- Microsoft Windows ME
- Microsoft Windows NT Workstation 4.0 SP6a
- Microsoft Windows NT Workstation 4.0 SP6
- Microsoft Windows NT Workstation 4.0 SP5
- Microsoft Windows NT Workstation 4.0 SP4
- Microsoft Windows NT Workstation 4.0 SP3
- Microsoft Windows NT Workstation 4.0 SP2
- Microsoft Windows NT Workstation 4.0 SP1
- Microsoft Windows NT Workstation 4.0
- Microsoft Windows XP Home
- Microsoft Windows XP Professional
Not Vulnerable:

Discussion

Microsoft Office XP Spreadsheet Host().SaveAs() File Creation Vulnerability

Microsoft Office XP provides a spreadsheet component that can be embedded in web pages and office documents. This spreadsheet component contains a bug in a function called HOST() that can be exploited to write arbitrary files. This can be done from office documents, and possibly other vectors such as HTML mail.

This is accomplished by embedding a spreadsheet object containing a formula similar to the following: =Host().SaveAs("arbitraryfilename")

Microsoft has released patches which address a related vulnerability (BugTraq ID 4397 "Microsoft Outlook HTML Mail Script Execution Vulnerability"). However, it has been reported that these patches do not address this issue in the Excel component of Office XP.

Exploit / POC

Microsoft Office XP Spreadsheet Host().SaveAs() File Creation Vulnerability

See the BugTraq post by Georgi Guninski for a sample exploit.

Solution / Fix

Microsoft Office XP Spreadsheet Host().SaveAs() File Creation Vulnerability

Solution:
Currently the SecurityFocus staff are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

References

Microsoft Office XP Spreadsheet Host().SaveAs() File Creation Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report