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

A Security Vulnerability With Verifying HMAC-based XML Digital Signatures in the XML Digital Signature Implementation Included With the Sun GlassFish Enterprise Server v2.1 may Allow Authentication to be Bypassed



Category
Security

Release Phase
Resolved

Bug Id
6868619

Product
Sun GlassFish Enterprise Server v2.1

Date of Resolved Release
29-Oct-2009

A security vulnerability with verifying HMAC-based XML digital signatures:

1. Impact

A security vulnerability with verifying HMAC-based XML digital signatures in the XML Digital Signature implementation included with webservices component of Sun GlassFish Enterprise Server may allow authentication to be bypassed. This could allow a user to forge an XML digital signature that would be accepted as valid. Applications that validate HMAC-based XML digital signatures may be vulnerable to this issue.

This issue is also described in the following documents:

CERT VU#466161 at:
CVE-2009-0217 at:
Sun acknowledges, with thanks, Thomas Roessler from the W3C for bringing this issue to our attention.

2. Contributing Factors

This issue can occur in the following releases:

For customers with a valid support contract:

SPARC Platform
  • Sun GlassFish Enterprise Sever v2.1 with HADB (Package Based) without patch 128640-13
  • Sun GlassFish Enterprise Sever v2.1 with HADB without patch 128643-13
  • Sun GlassFish Enterprise Sever v2.1 without patch 128647-13
x86 Platform
  • Sun GlassFish Enterprise Sever v2.1 with HADB (Package Based) without patch 128641-13
  • Sun GlassFish Enterprise Sever v2.1 with HADB without patch 128644-13
  • Sun GlassFish Enterprise Sever v2.1 without patch 128648-13
Linux Platform
  • Sun GlassFish Enterprise Sever v2.1 with HADB (Package Based) without patch 128642-13
  • Sun GlassFish Enterprise Sever v2.1 with HADB without patch 128645-13
  • Sun GlassFish Enterprise Sever v2.1 without patch 128649-13
Windows Platform
  • Sun GlassFish Enterprise Sever v2.1 with HADB without patch 128646-13
  • Sun GlassFish Enterprise Sever v2.1 without patch 128650-13
AIX Platform
  • Sun GlassFish Enterprise Sever v2.1 without patch 137916-12
For customers without a valid support contract:

SPARC Platform
  • Sun GlassFish Enterprise Sever v2.1 with HADB (Package Based) without patch 141709-02
  • Sun GlassFish Enterprise Sever v2.1 with HADB without patch 141700-02
  • Sun GlassFish Enterprise Sever v2.1 without patch 141704-02
x86 Platform
  • Sun GlassFish Enterprise Sever v2.1 with HADB (Package Based) without patch 141710-02
  • Sun GlassFish Enterprise Sever v2.1 with HADB without patch 141701-02
  • Sun GlassFish Enterprise Sever v2.1 without patch 141705-02
Linux Platform
  • Sun GlassFish Enterprise Sever v2.1 with HADB (Package Based) without patch 141711-02
  • Sun GlassFish Enterprise Sever v2.1 with HADB without patch 141702-02
  • Sun GlassFish Enterprise Sever v2.1 without patch 141706-02
Windows
  • Sun GlassFish Enterprise Sever v2.1 with HADB without patch 141703-02
  • Sun GlassFish Enterprise Sever v2.1 without patch 141707-02
AIX Platform
  • Sun GlassFish Enterprise Sever v2.1 without patch 141708-02
Note 1: Sun GlassFish Enterprise Server v2.1 was formerly referred to as Sun Java System Application Server 9.1UR2 patch 6.

Note 2: Sun Java System Application Server 8.x and 9.0 is not affected by this issue.

To determine the version of Sun GlassFish Enterprise Server on a system, the following command can be run:
    $ <AS-install>/bin/asadmin version
(Where <AS-install> is the installation directory of the Application Server ).

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

For customers with a valid support contract:

SPARC Platform
  • Sun GlassFish Enterprise Sever v2.1 with HADB (Package Based) with patch 128640-13 or later
  • Sun GlassFish Enterprise Sever v2.1 with HADB with patch 128643-13 or later
  • Sun GlassFish Enterprise Sever v2.1 with patch 128647-13 or later
x86 Platform
  • Sun GlassFish Enterprise Sever v2.1 with HADB (Package Based) with patch 128641-13 or later
  • Sun GlassFish Enterprise Sever v2.1 with HADB with patch 128644-13 or later
  • Sun GlassFish Enterprise Sever v2.1 with patch 128648-13 or later
Linux Platform
  • Sun GlassFish Enterprise Sever v2.1 with HADB (Package Based) with patch 128642-13 or later
  • Sun GlassFish Enterprise Sever v2.1 with HADB with patch 128645-13 or later
  • Sun GlassFish Enterprise Sever v2.1 with patch 128649-13 or later
Windows
  • Sun GlassFish Enterprise Sever v2.1 with HADB with patch 128646-13 or later
  • Sun GlassFish Enterprise Sever v2.1 with patch 128650-13 or later
AIX Platform
  • Sun GlassFish Enterprise Sever v2.1 with patch 137916-12 or later
For customers without a valid support contract:

SPARC Platform
  • Sun GlassFish Enterprise Sever v2.1 with HADB (Package Based) with patch 141709-02 or later
  • Sun GlassFish Enterprise Sever v2.1 with HADB with patch 141700-02 or later
  • Sun GlassFish Enterprise Sever v2.1 with patch 141704-02 or later
x86 Platform
  • Sun GlassFish Enterprise Sever v2.1 with HADB (Package Based) with patch 141710-02 or later
  • Sun GlassFish Enterprise Sever v2.1 with HADB with patch 141701-02 or later
  • Sun GlassFish Enterprise Sever v2.1 with patch 141705-02 or later
Linux Platform
  • Sun GlassFish Enterprise Sever v2.1 with HADB (Package Based) with patch 141711-02 or later
  • Sun GlassFish Enterprise Sever v2.1 with HADB with patch 141702-02 or later
  • Sun GlassFish Enterprise Sever v2.1 with patch 141706-02 or later
Windows
  • Sun GlassFish Enterprise Sever v2.1 with HADB with patch 141703-02 or later
  • Sun GlassFish Enterprise Sever v2.1 with patch 141707-02 or later
AIX Platform
  • Sun GlassFish Enterprise Sever v2.1 with patch 141708-02 or later
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.


References

137916-12
128649-13
128648-13
128647-13
128642-13
128650-13
128645-13
128641-13
128644-13
128640-13
128643-13
128646-13
141700-02
141701-02
141702-02
141703-02
141704-02
141705-02
141706-02
141707-02
141708-02
141709-02
141710-02
141711-02





Attachments
This solution has no attachment