Security Vulnerabilities in the Java Runtime Environment Image Parsing Code May Allow a Untrusted Applet to Elevate Privileges



Category :Security
Release Phase :Resolved
Product :Java 2 Platform, Standard Edition  
Bug Id :6483556, 6483560  
Date of Workaround Release :31-MAY-2007 
Date of Resolved Release :29-JUN-2007 


Impact

A buffer overflow vulnerability in the image parsing code in the Java Runtime Environment may allow an untrusted applet or application to elevate its privileges. For example, an applet may grant itself permissions to read and write local files or execute local applications that are accessible to the user running the untrusted applet.

A second vulnerability may allow an untrusted applet or application to cause the Java Virtual Machine to hang.

Sun acknowledges, with thanks, Chris Evans of the Google Security Team, for bringing these issues to our attention.

These issues are also referenced in the following documents:

CVE-2007-2788 at http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2788

CVE-2007-2789 at http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2789


Contributing Factors

These issues can occur in the following releases (for Windows, Solaris, and Linux):

First vulnerability:

Second vulnerability:

To determine the default version of the JRE on a system for Solaris and Linux, the following command can be run:

    % java -version

Note: The above command only determines the default version. Other versions may also be installed on the system.

To determine the default version of the JRE on a system for Windows:

  1. Click "Start"
  2. Select "Run"
  3. Type "cmd" (starts a command-line)
  4. At the prompt, type "java -version"

Note: The above command only determines the default version. Other versions may also be installed on the system.


Symptoms

There are no reliable symptoms that would show the described issues have been exploited.


Workaround

There is no workaround for this issue. Please see the Resolution section below.


Resolution

The first issue is addressed in the following releases (for Windows, Solaris, and Linux):

and also addressed in the following release (for Solaris 8 and Windows):

The second issue is addressed in the following releases (for Windows, Solaris, and Linux):

Java SE 6 Update 1 is available for download at the following link:

http://java.sun.com/javase/downloads/index.jsp

Java SE 6 Update 1 for Solaris is available in the following patches:

J2SE 5.0 is available for download at the following link:

http://java.sun.com/j2se/1.5.0/download.jsp

J2SE 5.0 Update 11 for Solaris is available in the following patches:

SDK and JRE 1.4.2_15 is available for download at:

http://java.sun.com/j2se/1.4.2/download.html

SDK and JRE 1.3.1 for Solaris 8 is available for download at:

http://java.sun.com/j2se/1.3/download.html

Note 1: SDK and JRE 1.3.1 has completed the Sun End of Life (EOL) process and is only supported for customers with Solaris 8 and Vintage Support Offering support contracts (see http://java.sun.com/j2se/1.3/download.html). Sun strongly recommends that users upgrade to the latest releases.

Note 2: When installing a new version of the product from a source other than a Solaris patch, it is recommended that the old affected versions be removed from your system. For more information, please see the installation notes on the respective java.sun.com download pages.




Modification History


Date: 29-JUN-2007

Date: 10-JUL-2007

Date: 22-OCT-2007



Attachments
This solution has no attachment
 
Contact About Sun News & Events Employment Site Map Privacy Terms of Use Trademarks Copyright Sun Microsystems, Inc. | SunSolve Version 7.4.0 #1