-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2009.1464
 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
                              2 November 2009

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Sun GlassFish Enterprise Server v2.1
Publisher:         Sun Microsystems
Operating System:  Solaris
                   Linux variants
                   Windows
                   AIX
Impact/Access:     Unauthorised Access            -- Remote/Unauthenticated
                   Provide Misleading Information -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2009-0217  

Reference:         ESB-2009.1078

Original Bulletin: 
   http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-269208-1

- --------------------------BEGIN INCLUDED TEXT--------------------

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:
  * http://www.kb.cert.org/vuls/id/466161

CVE-2009-0217 at:
  * http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0217

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 Technical
Instruction ID 213557.

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

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iD8DBQFK7huZNVH5XJJInbgRAsnOAJ9K7dTdCLPgTzdN6L9CqfI0UEztJwCZAUws
XrHiDfMJW14NOFoe1votrWM=
=xVVT
-----END PGP SIGNATURE-----