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

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

                  ESB-2008.0653 -- [Win][Linux][Solaris]
 Sun Java System Access Manager Does Not Securely Process XSLT Stylesheets
          contained in XML Signatures contained in XML Signatures
                                3 July 2008

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

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

Product:              Sun Java System Access Manager
Publisher:            Sun Microsystems
Operating System:     Solaris
                      Linux variants
                      Windows
Impact:               Execute Arbitrary Code/Commands
Access:               Remote/Unauthenticated
CVE Names:            CVE-2008-2945

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

Comment: This advisory references vulnerabilities in products which run on
         platforms other than Solaris. It is recommended that administrators
         running Sun Java System Access Manager check for an updated version
         of the software for their operating system.

Revision History:     July 3 2008: Added CVE
                      June 30 2008: Initial Release

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


   Solution Type: Sun Alert
   Solution  201538 :   Sun Java System Access Manager Does Not Securely
   Process XSLT Stylesheets contained in XML Signatures contained in XML
   Signatures          
   Bug ID: 6547061

   Product
   Sun Java System Access Manager 6 2005Q1
   Sun Java System Access Manager 7.1
   Sun Java System Identity Server 6.1
   Sun Java System Identity Server 6.2
   Sun Java System Access Manager 7 2005Q4

   Date of Resolved Release: 26-Jun-2008

   SA Document Body
   Sun Java System Access Manager Does Not Securely Process XSLT Stylesheets
   contained in XML Signatures

   1. Impact

   The Sun Java System Access Manager may not securely process XSLT
   stylesheets which are contained inside XSLT Transforms in XML
   Signatures.

   A remote user who is able to create such an XML Signature which is
   viewed locally with Access Manager may be able to execute arbitrary
   code with the privileges of the Access Manager application. Access
   Manager is run by a web container application, such as the Sun Java
   System Application Server, and thus the privileges of Access Manager
   are the same as the configured web container application.

   Sun acknowledges with thanks, Brad Hill of iSEC Partners for bringing
   this issue to our attention.
   2. Contributing Factors

   This issue can occur in the following releases:

   SPARC Platform:
     * Sun Java System Access Manager 7.1 (for Solaris 8, 9 and 10)
       without patch 126356-01
     * Sun Java System Access Manager 7 2005Q4 (for Solaris 8, 9 and 10)
       without patch 120954-06
     * Sun Java System Access Manager 6.3 2005Q1 (for Solaris 8, 9 and
       10) without patch 119465-12
     * Sun Java System Identity Server 6.2 (for Solaris 8 and 9) without
       patch 115766-15
     * Sun Java System Identity Server 6.1 (for Solaris 8 and 9) without
       patch 117586-22

   x86 Platform:
     * Sun Java System Access Manager 7.1 (for Solaris 8, 9 and 10)
       without patch 126357-01
     * Sun Java System Access Manager 7 2005Q4 (for Solaris 9 and 10)
       without patch 120955-06
     * Sun Java System Access Manager 6.3 2005Q1 (for Solaris 8, 9 and
       10) without patch 119465-12
     * Sun Java System Identity Server 6.2 (for Solaris 8 and 9) without
       patch 120091-15

   Linux:
     * Sun Java System Access Manager 7.1 without patch 126358-01
     * Sun Java System Access Manager 7 2005Q4 without patch 120956-06
     * Sun Java System Access Manager 6.3 2005Q1 without patch 119502-12

   Windows:
     * Sun Java System Access Manager 7.1 without patch 126359-01
     * Sun Java System Access Manager 7 2005Q4 without patch 124296-06

   Note: With respect to Access Manager functionality, this issue only
   affects verification of XML signing, so if a user is not using XML
   signing in Access Manager, there is no impact.

   To determine if XML signing is enabled for Access Manager, do the
   following:
    1. Login to the Access Manager console
    2. Click on the "Configuration" tab for Access Manager 7.x or the
       "Service Configuration" tab for Access Manager 6.x
    3. Select service: "SAML"

   If any of the three check boxes labeled "Sign SAML Request", "Sign
   SAML Response" or "Sign SAML Assertion" is checked, the XML signing
   functionality is in use.

   To determine the version of Access Manager on a Solaris system, the
   following command can be run:
    % pkginfo -l SUNWamsvc
    PKGINST:  SUNWamsvc
    NAME:  Sun Java System Access Manager Services
    CATEGORY:  application
    ARCH:  all
    VERSION:  7.0,REV=05.08.10.09.17

   To determine the version of Sun Java System Access Manager on other
   systems, the following command can be run (as "root" user):
    # <access-manager-install-dir>/bin/amadmin --version
    Sun Java System Access Manager 7 2005Q4

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

   SPARC Platform:
     * Sun Java System Access Manager 7.1 (for Solaris 8, 9 and 10) with
       patch 126356-01 or later
     * Sun Java System Access Manager 7 2005Q4 (for Solaris 8, 9 and 10)
       with patch 120954-06 or later
     * Sun Java System Access Manager 6.3 2005Q1 (for Solaris 8, 9 and
       10) with patch 119465-12 or later
     * Sun Java System Identity Server 6.2 (for Solaris 8 and 9) with
       patch 115766-15 or later
     * Sun Java System Identity Server 6.1 (for Solaris 8 and 9) with
       patch 117586-22 or later

   x86 Platform:
     * Sun Java System Access Manager 7.1 (for Solaris 8, 9 and 10) with
       patch 126357-01 or later
     * Sun Java System Access Manager 7 2005Q4 (for Solaris 9 and 10)
       with patch 120955-06 or later
     * Sun Java System Access Manager 6.3 2005Q1 (for Solaris 8, 9 and
       10) with patch 119465-12 or later
     * Sun Java System Identity Server 6.2 (for Solaris 8 and 9) with
       patch 120091-15 or later

   Linux:
     * Sun Java System Access Manager 7.1 with patch 126358-01 or later
     * Sun Java System Access Manager 7 2005Q4 with patch 120956-06 or
       later
     * Sun Java System Access Manager 6.3 2005Q1 with patch 119502-12 or
       later

   Windows:
     * Sun Java System Access Manager 7.1 with patch 126359-01 or later
     * Sun Java System Access Manager 7 2005Q4 with patch 124296-06 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-2008 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

iQCVAwUBSGxElCh9+71yA2DNAQKxTAP9GOzSB9ZtDyEDUT3lRUTqOyer+lg/6m7v
gxot3fqAmIG+P9JGbQQp4/wuQitsCyHPygE5AqeLJIuMnkVkLKOMyAH/VWtE2kHx
uf2oGOs9M1rGC57L6l7AVmc7fzofeRTLYRcWP9KBB1+6h/c6UJEO/m3qbwmZd/+Q
Yj9OgOfVU4w=
=szYD
-----END PGP SIGNATURE-----