-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
             AUSCERT External Security Bulletin Redistribution

           ESB-2002.522 -- Microsoft Security Bulletin MS02-052
     Flaw in Java VM JDBC Classes Could Allow Code Execution (Q329077)
                             19 September 2002

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                Microsoft VM (Virtual Machine)
                        Internet Explorer
Vendor:                 Microsoft
Operating System:       Windows 95
                        Windows 98
                        Windows 98SE
                        Windows NT
                        Windows 2000
                        Windows XP
Impact:                 Execute Arbitrary Code/Commands
                        Denial of Service
Access Required:        Remote

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----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-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  The decision to use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the original authors to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/Information/advisories.html

If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business 
                hours which are GMT+10:00 (AEST).  On call after hours 
                for member emergencies only.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBPYoMySh9+71yA2DNAQF9TgQAgbhyz+RzxCxCbU6MJpAX9GSDAPtLs6KD
y01xh1Jd9a3twFz1yNmYLIGeFDJ2BfXnHP1WvnSklRaqlNQuRkHLx1jYicRwH2LH
I8XfpnEDBav/fEx8ZdFIysyTr7CF3pr3mMu2tE15k9eD6S3/Mg31/apVnp4KROP5
A0NDI79XtUU=
=aV1U
-----END PGP SIGNATURE-----