-----Original Message----- From: UNIRAS (UK Govt CERT) Sent: 19 September 2002 09:56 To: [EMAIL PROTECTED] Subject: UNIRAS Brief - 324/02 - Microsoft - Flaw in Microsoft VM JDBC Classes Could Allow Code Execution Importance: High -----BEGIN PGP SIGNED MESSAGE----- - ------------------------------------------------------------------------------ ---- UNIRAS (UK Govt CERT) Briefing Notice - 324/02 dated 19.09.02 Time: 09:44 UNIRAS is part of NISCC(National Infrastructure Security Co-ordination Centre) - ------------------------------------------------------------------------------ ---- UNIRAS material is also available from its website at www.uniras.gov.uk and Information about NISCC is available from www.niscc.gov.uk - ------------------------------------------------------------------------------ ---- Title ===== Microsoft Security Bulletin - MS02-052: Flaw in Microsoft VM JDBC Classes Could Allow Code Execution Detail ====== - -----BEGIN PGP SIGNED MESSAGE----- - - ---------------------------------------------------------------------- Title: Flaw in Microsoft VM JDBC Classes Could Allow Code Execution (Q329077) Released: 18 September 2002 Software: Versions of the Microsoft virtual machine (Microsoft VM) Impact: Three vulnerabilities, the most serious of which could enable an attacker to gain complete control over a user's system. Max Risk: Critical Bulletin: MS02-052 Microsoft encourages customers to review the Security Bulletin at: http://www.microsoft.com/technet/security/bulletin/MS02-052.asp. - - ---------------------------------------------------------------------- Issue: ====== The Microsoft VM is a virtual machine for the Win32(r) operating environment. The Microsoft VM shipped as part of most versions of Windows (a complete list is available in the FAQ), as well as part of most versions of Internet Explorer. It also was available for some timeas a separate download. A new patch for the Microsoft VM is available,which eliminates three security vulnerabilities. The attack vectors forall of them would likely be the same. An attacker would likely create a web page that, when opened, exploits the desired vulnerability, and either host it on a web page or send it to a user as an HTML mail. The first vulnerability involves the Java Database Connectivity (JDBC) classes, which provide features that allow Java applications to connect to and use data from a wide variety of data sources, ranging from flat files to SQL Server databases. The vulnerability results because of a flaw in the way the classes vet a request to load and execute a DLL on the user's system. Although the classes do perform checks that are designed to ensure that only authorized applets can levy such a request,it's possible to spoof this check by malforming the request in a particular way, thereby enable an attacker to load and execute any DLL on the user's system. The second vulnerability also involves the JDBC classes, and results because certain functions in the classes don't correctly validate handles that are provided as input. One straightforward use of this flaw would involve supplying invalid data in lieu of an actual handle when calling such a function, Microsoft has confirmed that this scenario would cause Internet Explorer to fail. In addition, there is at least a theoretical possibility that the flaw also could enable an attacker to provide data that would have the effect of running code in the security context of the user. The third vulnerability involves a class that provides support for the use of XML by Java applications. This class exposes a number of methods; some of these are suitable for use by any applet, while othersare only suitable for use by trusted ones. However, the class does not differentiate correctly between these cases, and instead makes all of the methods available to all applets. Among the functions that could be misused through this vulnerability are ones that would enable an applet to take virtually any desired action on the user's system. Mitigating Factors: ==================== - - - In order to exploit any of these vulnerabilities via the web- based attack vector, the attacker would need to entice a user into visiting a web site that the attacker controlled. The vulnerabilities themselves provide no way to force a user to a web site. - - - Java applets are disabled within the Restricted Sites Zone. As a result, any mail client that opened HTML mail within the Restricted Sites Zone, such as Outlook 2002, Outlook Express 6, or Outlook 98 or 2000 when used in conjunction with the Outlook Email Security Update, would not be at risk from the mail-based attack vector. - - - The vulnerability would gain only the privileges of the user, so customers who operate with less than administrative privileges would be at less risk from the vulnerability. - - - Corporate IT administrators could limit the risk posed to their users by using application filters at the firewall to inspect and block mobile code. Maximum Risk Rating: ==================== - Internet systems: Moderate - Intranet systems: Moderate - Client systems: Critical Patch Availability: =================== - A patch is available to fix this vulnerability. Please read the Security Bulletin at http://www.microsoft.com/technet/security/bulletin/ms02-052.asp for information on obtaining this patch. Acknowledgment: =============== - <Customer and URL> - - --------------------------------------------------------------------- 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. - -----BEGIN PGP SIGNATURE----- Version: PGP 7.1 iQEVAwUBPYk7Co0ZSRQxA/UrAQFaQQf/fv58N9kjZIK8pxF2DuIU9wRS4jPGKAPw xahb1L7nBpY1SVIdK1nKvcADVK/FO7VPirykuVlmbi6ozmoZW6TqGfpCRW1UOnLT YY/LG0RPwGitElSozf8m8rdO72L1OeJZxGI45c+/Iq3bi5ys6TIsMRcrzJUCZ3gn uxsVx9T3v5JjZny7quqSRCQwOwjyjCO4s/LRibTRzkAd/tmHiaNP6MbV63Li+cYW zdZOWebWfrslnSQB6QCndHdXdCx+Ha+6hXA0nJQdNv0jkv43wkgH3LRgqflVkiAK /z7BRo01wgT35axQqvRwuKzn3JDST2VRY+UYVaggkWo0dghQtG4hxg== =BEcn - -----END PGP SIGNATURE----- ******************************************************************* Reprinted with permission of Microsoft Corporation. - ------------------------------------------------------------------------------ ---- For additional information or assistance, please contact the HELP Desk by telephone or Not Protectively Marked information may be sent via EMail to: [EMAIL PROTECTED] Tel: 020 7821 1330 Ext 4511 Fax: 020 7821 1686 - ------------------------------------------------------------------------------ ---- UNIRAS wishes to acknowledge the contributions of Microsoft for the information contained in this Briefing. - ------------------------------------------------------------------------------ ---- This Briefing contains the information released by the original author. Some of the information may have changed since it was released. If the vulnerability affects you, it may be prudent to retrieve the advisory from the canonical site to ensure that you receive the most current information concerning that problem. Reference to any specific commercial product, process, or service by trade name, trademark manufacturer, or otherwise, does not constitute or imply its endorsement, recommendation, or favouring by UNIRAS or NISCC. The views and opinions of authors expressed within this notice shall not be used for advertising or product endorsement purposes. Neither UNIRAS or NISCC shall also accept responsibility for any errors or omissions contained within this briefing notice. In particular, they shall not be liable for any loss or damage whatsoever, arising from or in connection with the usage of information contained within this notice. UNIRAS is a member of the Forum of Incident Response and Security Teams (FIRST) and has contacts with other international Incident Response Teams (IRTs) in order to foster cooperation and coordination in incident prevention, to prompt rapid reaction to incidents, and to promote information sharing amongst its members and the community at large. - ------------------------------------------------------------------------------ ---- <End of UNIRAS Briefing> -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com> iQCVAwUBPYmQaIpao72zK539AQEsHwP9GB0+H345wSPOARQtldo9dKnNq7SBSTRW 2qiw5Xdgcq3PoXzDDpHszg7qQN4RTAaOjJzgqMZIugk5qn/8rrXhrSSEhloZljgn Rm99VNYTZOkJ9Eo9U7t4N3n9FTfwWFcKGDqRZStrC6Dfbcwf7M7RdcBKgY65ys3F XuvqsLYwFJQ= =Cdpf -----END PGP SIGNATURE----- IWS INFOCON Mailing List @ IWS - The Information Warfare Site http://www.iwar.org.uk