Microsoft JET VBA Shell Vulnerability

BID:548

Info

Microsoft JET VBA Shell Vulnerability

Bugtraq ID: 548
Class: Input Validation Error
CVE: CVE-2000-0325
Remote: Yes
Local: No
Published: Jul 29 1999 12:00AM
Updated: Jul 11 2009 12:56AM
Credit: This vulnerability was discovered and posted to NTBugtraq by Juan Carlos Garcia Cuartango <[email protected]>.
Vulnerable: Microsoft JET 4.0
+ Microsoft Access 2000
+ Microsoft Access 2000
Microsoft JET 3.51
+ Microsoft Excel 95
+ Microsoft Excel 95
+ Microsoft Excel 97
+ Microsoft Excel 97
Microsoft JET 3.5
+ Microsoft Access 95
+ Microsoft Access 95
+ Microsoft Access 97
+ Microsoft Access 97
Not Vulnerable: Microsoft JET 4.0 SP1
Microsoft JET 3.51 SP3

Discussion

Microsoft JET VBA Shell Vulnerability

A vulnerability affects Microsoft's Jet 3.51 and 4.0 driver (MSJET35.DLL and MSJET40.DLL).

This vulnerability could allow an attacker to create malicious '.xls' or '.doc' files incorporating VBA shell commands. When the file is opened, the shell commands contained in the file will execute on the target system. Command execution will occur in the context of the user that is opening the file.

The file could be distributed via email, the web (including in hidden frames), or any number of methods.

Exploit / POC

Microsoft JET VBA Shell Vulnerability

This exploit by BrootForce &lt;[email protected]&gt; is a modified version of Juan Cuartango's original demonstration exploit.

Solution / Fix

Microsoft JET VBA Shell Vulnerability

Solution:
Microsoft has made a patch available at the following url:
http://officeupdate.microsoft.com/articles/mdac_typ.htm
This was made public in a Microsoft Security Advisory published on August 20, 1999. The patch works by creating a "sandbox mode" for Jet 3.5x, and changing the implementation of sandbox mode in Jet 4.0.

An additional patch made available by Microsoft, exists at the following location:
http://office.microsoft.com/assistance/9798/mdac_typ.aspx

Also, Wanderley J. Abreu Jr. <[email protected]> has written a program that will search the registry and modify the EditFlags value for DocObjects file types, setting the Confirm Open After Download value to 01. this means that these filetypes can no longer be silently downloaded and opened. This can be downloaded from:
http://www.securityfocus.com/data/vulnerabilities/patches/RegFix.zip

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