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

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



Category
Security

Release Phase
Resolved

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

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

HP-UX:

  • Sun Java System Access Manager 7 2005Q4 without patch 126371-06

Other:

  • Sun Java System Access Manager 7.1 WAR file-based installation (all platforms) without patch 140504-01

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

HP-UX:

  • Sun Java System Access Manager 7 2005Q4 with patch 126371-06 or later

Other:

  • Sun Java System Access Manager 7.1 WAR file-based installation (all platforms) with patch 140504-01 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-2008 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.


Modification History
10-Nov-2008: Updated Contributing Factors and Resolution sections for HP-UX
23-Dec-2008: Add WAR platform and patches to Contributing Factors and Resolution


References

120954-06
120955-06
120956-06
124296-06
119465-12
119502-12
115766-15
117586-22
119502-12
120091-15
126356-01
126357-01
126358-01
126359-01
126371-07
140504-01




Attachments
This solution has no attachment