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

A Security Vulnerability in the Java Runtime Environment With Verifying HMAC Digests may Allow Authentication to be Bypassed



Category
Security

Release Phase
Resolved

Bug Id
6863503

Date of Resolved Release
03-Nov-2009

A security vulnerability in the Java Runtime Environment with verifying HMAC digests:

1. Impact

A security vulnerability in the Java Runtime Environment with verifying HMAC digests may allow authentication to be bypassed. This could allow a user to forge a digital signature that would be accepted as valid. Applications that validate HMAC-based digital signatures may be vulnerable to this type of attack.

Note: This vulnerability cannot be exploited by an untrusted applet or Java Web Start application.

Sun acknowledges, with thanks, Coda Hale for bringing this issue to our attention.

2. Contributing Factors

This issue can occur in the following releases:

Java SE for Windows, Solaris, and Linux:
  • JDK and JRE 6 Update 16 and earlier
  • JDK and JRE 5.0 Update 21 and earlier
Java SE for Solaris:
  • SDK and JRE 1.4.2_23 and earlier
Java SE for Windows:
  • SDK and JRE 1.3.1_26 and earlier
Java SE for Business for Windows, Solaris and Linux:
  • JDK and JRE 6 Update 16 and earlier
  • JDK and JRE 5.0 Update 21 and earlier
  • SDK and JRE 1.4.2_23 and earlier
To determine the version of Java installed on a system, the following command can be used:
    % java -version
java version 1.5.0_17
3. Symptoms

There are no reliable 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 releases:

Java SE for Windows, Solaris, and Linux:
  • JDK and JRE 6 Update 17 or later
  • JDK and JRE 5.0 Update 22 or later
Java SE for Solaris:
  • SDK and JRE 1.4.2_24 or later
Java SE for Windows:
  • SDK and JRE 1.3.1_27 or later
Java SE for Business for Windows, Solaris and Linux:
  • JDK and JRE 6 Update 17 or later
  • JDK and JRE 5.0 Update 22 or later
  • SDK and JRE 1.4.2_24 or later
Java SE releases are available at:
JDK and JRE 6 Update 17:
JRE 6 Update 17:
JDK 6 Update 17 for Solaris is available in the following patches:
  • Java SE 6: update 17 (as delivered in patch 125136-18)
  • Java SE 6: update 17 (as delivered in patch 125137-18 (64bit))
  • Java SE 6_x86: update 17 (as delivered in patch 125138-18)
  • Java SE 6_x86: update 17 (as delivered in patch 125139-18 (64bit))
Note: After release it was discovered that the following patches do not install:

    125136-18
    125137-18
    125138-18
    125139-18

These are harmless because they do not install at all. To resolve the issue described in this Sun Alert, please use the next revision of these patches:

    125136-19
    125137-19
    125138-19
    125139-19

JDK and JRE 5.0 Update 22:
JDK 5.0 Update 22 for Solaris is available in the following patches:
  • J2SE 5.0: update 22 (as delivered in patch 118666-24)
  • J2SE 5.0: update 22 (as delivered in patch 118667-24 (64bit))
  • J2SE 5.0_x86: update 22 (as delivered in patch 118668-24)
  • J2SE 5.0_x86: update 22 (as delivered in patch 118669-24 (64bit))
Java SE for Business releases are available at:
Note 1: Java SE releases SDK and JRE 1.4.2 have completed the Sun End of Service Life (EOSL) process and is only supported for customers with Solaris 9 and 10. 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: Java SE releases 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.


Modification History
03-Dec-2009: Updated the Resolution section.


Product
Java Platform, Standard Edition 6 (Java SE 6)

References

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





Attachments
This solution has no attachment