__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Microsoft Office 'ODBC' Vulnerabilities August 25, 1999 17:00 GMT Number J-060 Updated on October 12, 1999 17:00 GMT ______________________________________________________________________________ PROBLEM: Microsoft has identified two vulnerabilities in Jet, a data- base engine used by Microsoft products. The vulnerabilities are in 'VBS Shell' and 'Txt I-ISAM'. PLATFORM: Microsoft Office97 and Office2000 applications that use Jet. DAMAGE: 'VBS Shell' vulnerability - system commands could be embedded within a database query which can be executed with the query is processed. 'Txt I-ISAM' vulnerability - a malicious user could modify system files via a database query. SOLUTION: Install the patch. ______________________________________________________________________________ VULNERABILITY Risk is high if you are still running one of the affected ASSESSMENT: applications. The exploits are publicly know. Attacks could occur simply by visiting a malicious user's web site. ______________________________________________________________________________ [ Updated on October 12, 1999 with additional patch information from Microsoft ] [ Start Microsoft Bulletin ] Microsoft Security Bulletin (MS99-030) -------------------------------------- Updated Patch Available for Office "ODBC Vulnerabilities" Originally Posted: August 20, 1999 Revised: August 23, 1999 Re-released: October 08, 1999 Summary ======= Microsoft has released an updated patch that eliminates security vulnerabilities in the Microsoft(r) Jet database engine. A patch originally was released in August 1999, but an additional variant of one vulnerability, the "Text I-ISAM" vulnerability, was subsequently discovered. The new variant could allow a database query to delete files on a user's computer. This bulletin has been re-released to discuss the vulnerabilities in their entirety. The vulnerabilities in total could affect any application that runs atop Jet, and could allow a database query to take virtually any action on a user's computer. Microsoft recommends that all customers who are running applications that use Jet, especially users of Microsoft Office 97 and Office 2000, install the patch. Customers who applied the original patch should apply the new one to ensure that they are fully protected against all variants. Customers who did not previously apply the patch need only apply the new version. Additional information and frequently asked questions regarding this vulnerability can be found at http://www.microsoft.com/security/bulletins/MS99-030faq.asp Issue ===== Jet is a database engine used by Microsoft products such as Microsoft Office97 and Office2000. Two vulnerabilities exist in Jet: - The "VBA Shell" vulnerability, which affects all versions of Jet except Jet 4.0. An operating system command embedded within a database query could be executed when the query is processed. This would allow a spreadsheet, database, or other application file that contained such a query to take virtually any action on the user's computer when the query was executed. - The "Text I-ISAM" vulnerability, which affects all versions of Jet. Jet provides a way to modify the contents of text files, as a way of allowing data exchange between it and other systems. However, a malicious user could use this capability to modify system files via a database query. The original patch for this vulnerability allowed "drop table" operations to be used, which could allow files on the user's computer to be deleted; the new patch eliminates this variant. Microsoft Office uses the Jet engine, and Office users are particularly at risk from these vulnerabilities. (The "VBA Shell" vulnerability affects all versions of Office prior to Office2000, and also affects one member of the Office2000 suite, Access2000. The "Text I-ISAM" vulnerability affects all versions of Office). The vulnerabilities are an especially serious threat to Office users for three reasons: - Scenarios for exploiting these vulnerabilities via Office documents are publicly known. - The ubiquity of Office would make it an attractive target for mounting attacks via these vulnerabilities. - The ability of Office documents to perform Document Object Hosting would permit users to be attacked simply by visiting a malicious user's web site. (Please note that a tool that prevents this attack was included as part of the original patch for this issue, so customers who used it are no longer vulnerable to attacks via web pages). Microsoft Jet also is used by several other Microsoft products, as well as many third party applications. However, the ability to exploit this vulnerability through these products is highly dependent on the specific application. Although Microsoft has not identified a means of exploiting these vulnerabilities through any Microsoft products except Office, we recommend that all customers who have Microsoft Jet installed on their computer update it. This will ensure that they are protected against any possible attacks that may be developed. Affected Software Versions ========================== - Microsoft Jet, all versions NOTE: Jet serves as the database engine for a number of Microsoft products, including but not limited to: - Microsoft Office - Microsoft Visual Studio - Microsoft Publisher - Microsoft Streets & Trips Jet also serves as the database engine for many third-party software products. The patch does not require any change to any of the applications that use Jet; instead, it operates directly on the Jet database engine and restores proper functionality to it. Patch Availability ================== - http://officeupdate.microsoft.com/articles/mdac_typ.htm NOTES: - The above web site provides separate pages for Office97 and Office2000. This is done in order to provide specific information about the vulnerabilities affecting the products. The patch for Office97 and Office2000 (and indeed for all affected products) is exactly the same, and both pages link to exactly the same patch. The patch will determine what version(s) of Jet are present on the machine and apply all of the needed corrections. - The patch is suitable for use by all language packs. - The patch applies to Jet 3.5 and all subsequent versions. Older versions of Jet are no longer supported, and we recommend that affected customers upgrade to a supported version. - The patch is suitable for widespread deployment via Microsoft(r) Systems Management Server(r). Users who wish to manually apply patches for specific versions of Jet should consult the FAQ for information on how to do this. More Information ================ Please see the following references for more information related to this issue. Please note that it may take 24 hours from the original posting of this bulletin for all of the KB articles to be visible on the Microsoft web site. - Microsoft Security Bulletin MS99-030: Frequently Asked Questions, http://www.microsoft.com/security/bulletins/MS99-030faq.asp. - Microsoft Knowledge Base (KB) article Q239114, ACC2000: Updated Version of Microsoft Jet 4.0 Available on MS, http://support.microsoft.com/support/kb/articles/q239/1/14.asp. - Microsoft Knowledge Base (KB) article Q172733, Updated Version of Microsoft Jet 3.5 Available on MSL, http://support.microsoft.com/support/kb/articles/q172/7/33.asp. - Microsoft Knowledge Base (KB) article Q239482, ACC2000: Jet 4.0 Expression can Execute Unsafe VBA Functions, http://support.microsoft.com/support/kb/articles/q239/4/82.asp. - Microsoft Knowledge Base (KB) article Q239104, Access97: Jet Expression can Execute Query with Unsafe VBA Functions, http://support.microsoft.com/support/kb/articles/q239/1/04.asp. - Microsoft Knowledge Base (KB) article Q239471, ACC2000: Text I-ISAM Allows Users to Append Lines Into System Files, http://support.microsoft.com/support/kb/articles/q239/4/71.asp. - Microsoft Knowledge Base (KB) article Q239105, ACC97: Text I-ISAM Allows Users to Append Lines Into System Files, http://support.microsoft.com/support/kb/articles/q239/1/05.asp. - Microsoft Knowledge Base (KB) article Q172733, Updated Version of Microsoft Jet 3.5 Available on MSL, http://support.microsoft.com/support/kb/articles/Q172/7/33.asp. - Microsoft KB article Q141796, How to Identify the Jet Database Engine Components, http://support.microsoft.com/support/kb/articles/Q141/7/96.asp. - Microsoft Security Advisor web site, http://www.microsoft.com/security/default.asp. Obtaining Support on this Issue =============================== This is a fully supported patch. Information on contacting Microsoft Technical Support is available at http://support.microsoft.com/support/contact/default.asp. Acknowledgments =============== Microsoft acknowledges Juan Carlos Cuartango of Spain for bringing this issue to our attention and identifying the additional variant of the "Text I-ISAM" vulnerability. Revisions ========= - August 20, 1999: Bulletin Created. - August 23, 1999: Revised to provide updated patch location - October 08, 1999: Re-released to provide patch that corrects additional variants of the "Text I-ISAM" vulnerability -------------------------------------------------------------------- THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. (c) 1999 Microsoft Corporation. All rights reserved. Terms of Use ******************************************************************* You have received this e-mail bulletin as a result of your registration to the Microsoft Product Security Notification Service. You may unsubscribe from this e-mail notification service at any time by sending an e-mail to MICROSOFT_SECURITY-SIGNOFF-REQUEST@ANNOUNCE.MICROSOFT.COM The subject line and message body are not used in processing the request, and can be anything you like. For more information on the Microsoft Security Notification Service please visit http://www.microsoft.com/security/services/bulletin.asp. For security-related information about Microsoft products, please visit the Microsoft Security Advisor web site at http://www.microsoft.com/security. [ End Microsoft Bulletin ] ______________________________________________________________________________ CIAC wishes to acknowledge Microsoft Corp. for the information contained in this bulletin. ______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@llnl.gov For emergencies and off-hour assistance, DOE, DOE contractor sites, and the NIH may contact CIAC 24-hours a day. During off hours (5PM - 8AM PST), use one of the following methods to contact CIAC: 1. Call the CIAC voice number 925-422-8193 and leave a message, or 2. Call 888-449-8369 to send a Sky Page to the CIAC duty person or 3. Send e-mail to 4498369@skytel.com, or 4. Call 800-201-9288 for the CIAC Project Leader. Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ (or http://ciac.llnl.gov -- they're the same machine) Anonymous FTP: ftp.ciac.org (or ciac.llnl.gov -- they're the same machine) Modem access: +1 (925) 423-4753 (28.8K baud) +1 (925) 423-3331 (28.8K baud) CIAC has several self-subscribing mailing lists for electronic publications: 1. CIAC-BULLETIN for Advisories, highest priority - time critical information and Bulletins, important computer security information; 2. SPI-ANNOUNCE for official news about Security Profile Inspector (SPI) software updates, new features, distribution and availability; 3. SPI-NOTES, for discussion of problems and solutions regarding the use of SPI products. Our mailing lists are managed by a public domain software package called Majordomo, which ignores E-mail header subject lines. To subscribe (add yourself) to one of our mailing lists, send the following request as the E-mail message body, substituting ciac-bulletin, spi-announce OR spi-notes for list-name: E-mail to ciac-listproc@llnl.gov or majordomo@rumpole.llnl.gov: subscribe list-name e.g., subscribe ciac-bulletin You will receive an acknowledgment email immediately with a confirmation that you will need to mail back to the addresses above, as per the instructions in the email. This is a partial protection to make sure you are really the one who asked to be signed up for the list in question. If you include the word 'help' in the body of an email to the above address, it will also send back an information file on how to subscribe/unsubscribe, get past issues of CIAC bulletins via email, etc. PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) J-050: HP-UX Visualize Conference Vulnerability J-051: Calendar Manager Service Buffer Overflow Vulnerability J-052: SGI arrayd default security configuration J-053: HP Current Directory Vulnerability J-054: Unauthorized Access to IIS Servers through ODBC Data Access with RDS J-055: IBM AIX Vulnerability in ptrace() system call J-056: Microsoft "Encapsulated SMTP Address" Vulnerability J-057: Windows NT(r) Terminal Servers DOS Vulnerability J-058: Microsoft "Malformed HTTP Request Header" Vulnerability J-059: IBM AIX (pdnsd) Buffer Overflow Vulnerability