Note: This is an archival copy of Security Sun Alert 254571 as previously published on http://sunsolve.sun.com.
Latest version of this security advisory is available from http://support.oracle.com
as Sun Alert 1020226.1.

Buffer Overflow Vulnerabilities in the Java Runtime Environment (JRE) with Processing Image Files and Fonts may Allow Privileges to be Escalated

CategorySecurity

Release PhaseResolved

Bug Id
6804996, 6804997, 6804998, 6804999

Date of Resolved Release24-Mar-2009

Buffer overflow vulnerabilities in the Java Runtime Environment (JRE) with processing image files and fonts may allow privileges to be escalated:

1. Impact

CR 6804996:
A buffer overflow vulnerability in the Java Runtime Environment with
processing PNG images may allow an untrusted Java Web Start application to escalate privileges. For example, an untrusted
application may grant itself permissions to read and write local files
or execute local applications that are accessible to the user running the
untrusted application.

CR 6804997:
A buffer overflow vulnerability in the Java Runtime Environment with
processing GIF images may allow an untrusted Java Web Start application
to escalate privileges. For example, an untrusted application may grant
itself permissions to read and write local files or execute local applications that are accessible to the user running the
untrusted application.

CR 6804998:
A buffer overflow vulnerability in the Java Runtime Environment with
processing GIF images may allow an untrusted applet or Java Web Start application to escalate privileges. For example, an untrusted 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.

CR 6804999:
A buffer overflow vulnerability in the Java Runtime Environment with
processing fonts may allow an untrusted applet or Java Web Start
application to escalate privileges. For example, an untrusted 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.

Sun acknowledges with thanks, "regenrecht" working with iDefense VCP
(http://labs.idefense.com/vcp/) for bringing the issues described in
CRs 6804996, 6804997, and 6804998 to our attention.

Sun acknowledges with thanks, Sean Larsson working with iDefense VCP
(http://labs.idefense.com/vcp/) for bringing the issue described in CR
6804999 to our attention.

2. Contributing Factors

The issues described in CR 6804996 and CR 6804997 can occur in the
following Java SE and Java SE for Business releases for Windows,
Solaris, and Linux:

JDK and JRE 6 Update 12 and earlier

Note: JDK and JRE 5.0, SDK and
JRE 1.4.2 and 1.3.1 are not affected.

The issue described in CR 6804998 can occur in the following Java SE
and Java SE for Business releases for Windows, Solaris, and Linux:

JDK and JRE 6 Update 12 and earlier

JDK and JRE 5.0 Update 17 and earlier

and in the following Java SE for Business release for Windows, Solaris,
and Linux:

SDK and JRE 1.4.2_19 and earlier

and in the following Java SE release for Windows and Solaris:

SDK and JRE 1.3.1_24 and earlier

The issue described in CR 6804999 can occur in the following Java SE
and Java SE for Business releases for Windows, Solaris, and Linux:

JDK and JRE 6 Update 12 and earlier

JDK and JRE 5.0 Update 17 and earlier

Note: SDK and JRE 1.4.2 and
1.3.1 are not affected by this issue.

To determine the default version of the JRE that Internet Explorer
uses, visit the URL:

To determine the default version of the JRE that Mozilla or Firefox
browsers use, visit the URL "about:plugins". The browser will display a
page called "Installed plug-ins" which lists the version of the Java
Plug-in:

Java(TM) Plug-in SE 6 U11

In this example, the version of the JRE that the browser uses is SE 6 U11.

3.
Symptoms

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

4. Workaround

There are no workarounds for these issues. Please see the
Resolution section below.

5. Resolution

CR 6804996 and CR 6804997 are addressed in the following Java SE and
Java SE for Business releases for Windows, Solaris, and Linux:

JDK and JRE 6 Update 13 or later

CR 6804998 is addressed in the following Java SE and Java SE for
Business releases for Windows, Solaris, and Linux:

JDK and JRE 6 Update 13 or later

JDK and JRE 5.0 Update 18 or later

and in the following Java SE for Business release for Windows, Solaris,
and Linux:

SDK and JRE 1.4.2_20 or later

and in the following Java SE release for Windows and Solaris:

SDK and JRE 1.3.1_25 or later

CR 6804999 is addressed in the following Java SE and Java SE for
Business releases for Windows, Solaris, and Linux:

Note 1: Java SE releases
SDK and JRE 1.4.2 have completed the Sun End of Service Life (EOSL)
process. Sun recommends that users upgrade to the latest Java SE
release. Customers interested in continuing to receive critical fixes
on SDK and JRE 1.4.2 are encouraged to migrate to Java SE for Business.

Note 2: SDK and JRE 1.3.1
has completed the Sun End of Service Life (EOSL) 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 Java SE
release.

Note 3: 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.
To remove old affected versions on the Windows platform, please see:

For more information
on Security Sun Alerts, see 1009886.1.This Sun Alert notification is being provided to you on
an "AS IS"
basis. This Sun Alert notification may contain information provided by
third parties. The issues described in this Sun Alert notification may
or may not impact your system(s). Sun makes no representations,
warranties, or guarantees as to the information contained herein. ANY
AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU
ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT
OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This
Sun Alert notification contains Sun proprietary and confidential
information. It is being provided to you pursuant to the provisions of
your agreement to purchase services from Sun, or, if you do not have
such an agreement, the Sun.com Terms of Use. This Sun Alert
notification may only be used for the purposes contemplated by these
agreements.
Copyright 2000-2009 Sun Microsystems, Inc., 4150 Network Circle,
Santa
Clara, CA 95054 U.S.A. All rights reserved.