Note: This is an archival copy of Security Sun Alert 244986 as previously published on http://sunsolve.sun.com.
Latest version of this security advisory is available from http://support.oracle.com as Sun Alert 1019736.1.
Article ID : 1019736.1
Article Type : Sun Alerts (SURE)
Last reviewed : 2010-01-19
Audience : PUBLIC
Copyright Notice: Copyright © 2010, Oracle Corporation and/or its affiliates.

The Java Runtime Environment Creates Temporary Files That Have "Guessable" File Names



Category
Security

Release Phase
Resolved

Bug Id
6721753

Product
Sun Java Standard Edition (Java SE)

Date of Resolved Release
03-Dec-2008

The Java Runtime Environment Creates Temporary Files That Have "Guessable" File Names

1. Impact

The Java Runtime Environment creates temporary files with insufficiently random names. This may be leveraged to write JAR files which may then be loaded as untrusted applets and Java Web Start applications to access and provide services from localhost and hence steal cookies.

2. Contributing Factors

This issue can occur in the following Java SE and Java SE for Business releases for Solaris, Windows and Linux:
  • JDK and JRE 6 Update 10 and earlier
  • JDK and JRE 5.0 Update 16 and earlier
  • SDK and JRE 1.4.2_18 and earlier
and the following Java SE releases for Solaris, Windows and Linux:
  • SDK and JRE 1.3.1_23 and earlier
To determine the default version of the JRE that Internet Explorer uses:
  1. Click "Tools" in the Menu Bar at the top of the browser
  2. Select "Sun Java Console"
The first two lines in the console display the version of Java Plug-in and JRE that Internet Explorer uses.

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 as in the following example:

Java(TM) Plug-in 1.5.0_11-b03

(Indicating that the JRE version the browser uses is 1.5.0_11).

3. Symptoms

There are no predictable symptoms that would indicate the described issue has been exploited.

4. Workaround

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

5. Resolution

This issue is addressed in the following Java SE and Java SE for Business releases for Solaris, Windows, and Linux:
  • JDK and JRE 6 Update 11 or later
  • JDK and JRE 5.0 Update 17 or later
  • SDK and JRE 1.4.2_19 or later
and in the following Java SE releases for Solaris and Windows:
  • SDK and JRE 1.3.1_24 or later
Java SE releases are available at:

JDK 6 Update 11:


JRE 6 Update 11:
http://java.sun.com/javase/downloads/index.jsp

and through the Java Update tool for Microsoft Windows users.

JDK 6 Update 11 for Solaris is available in the following patches:
  • Java SE 6: Update 11 (as delivered in patch 125136-12)
  • Java SE 6: Update 11 (as delivered in patch 125137-12 (64bit))
  • Java SE 6_x86: Update 11 (as delivered in patch 125138-12)
  • Java SE 6_x86: Update 11 (as delivered in patch 125139-12 (64bit))
JDK and JRE 5.0 Update 17:


JDK 5.0 Update 17 for Solaris is available in the following patches:
  • J2SE 5.0: Update 17 (as delivered in patch 118666-18)
  • J2SE 5.0: Update 17 (as delivered in patch 118667-18 (64bit))
  • J2SE 5.0_x86: Update 17 (as delivered in patch 118668-18)
  • J2SE 5.0_x86: Update 17 (as delivered in patch 118669-18 (64bit))
SDK and JRE 1.4.2_19:


Java SE for Business releases are available at:


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.

SDK and JRE 1.3.1 have 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: 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 the 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-2008 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.

References

125136-12
125137-12
125138-12
125139-12
118666-18
118667-18
118668-18
118669-18





Attachments
This solution has no attachment