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

Cross-Site Scripting (XSS) Security Vulnerability in the Sun Java System Access Manager Cross-Domain Controller (CDC)



Category
Security

Release Phase
Resolved

Bug Id
6677440

Product
Sun Java System Access Manager

Date of Resolved Release
29-Jun-2009

Cross-Site Scripting (XSS) security vulnerability in the Sun Java System Access Manager Cross-Domain Controller (CDC):

1. Impact

A cross-site scripting (XSS) vulnerability in the Sun Java System Access Manager Cross-Domain Controller (CDC) may allow an unprivileged remote user to inject code into web pages served by the Access Manager CDC which can result in various impacts including the theft of sensitive information such as cookie information, access to user credentials, or the hijacking of sessions.

The Cross-Domain Controller (CDC) is a servlet that communicates with policy agents outside its own domain, and then checks for a user's Single Sign-On (SSO) information.

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-03
  • Sun Java System Access Manager 7 2005Q4 (for Solaris 8, 9 and 10) without patch 120954-09
  • Sun Java System Access Manager 6 2005Q1 (for Solaris 8, 9 and 10) without patch 119465-16
x86 Platform
  • Sun Java System Access Manager 7.1 (for Solaris 8, 9 and 10) without patch 126357-03
  • Sun Java System Access Manager 7 2005Q4 (for Solaris 9 and 10) without patch 120955-09
  • Sun Java System Access Manager 6 2005Q1 (for Solaris 8, 9 and 10) without patch 119465-16
Linux Platform
  • Sun Java System Access Manager 7.1 without patch 126358-03
  • Sun Java System Access Manager 7 2005Q4 without patch 120956-09
  • Sun Java System Access Manager 6 2005Q1 without patch 119502-16
Windows Platform
  • Sun Java System Access Manager 7.1 without patch 126359-03
  • Sun Java System Access Manager 7 2005Q4 without patch 124296-09
HP-UX
  • Sun Java System Access Manager 7 2005Q4 without patch 126371-09
Other
  • Sun Java System Access Manager 7.1 WAR file-based installation (all platforms) without patch 140504-03
Note: This issue only affects the Sun Java System Access Manager if Cross-Domain Single Sign-On (CDSSO) functionality is enabled (the Cross-Domain Controller (CDC) servlet is not used in single-domain deployments).

To determine if Cross-Domain Single Sign-On (CDSSO) functionality is enabled and therefore the Cross-Domain Controller (CDC) servlet is in use, the AMAgent.properties configuration file can be reviewed for the properties named "com.sun.am.policy.agents.config.cdsso.enable" and "com.sun.am.policy.agents.config.cdcservlet.url".

If "com.sun.am.policy.agents.config.cdsso.enable" is set to "true" and if "com.sun.am.policy.agents.config.cdcservlet.url" includes the CDC servlet in the URL such as in "http://host:port/path/to/amserver/cdcservlet" then Cross-Domain Single Sign-On (CDSSO) functionality is enabled.

To determine if Sun Java System Access Manager is installed on a Solaris system, the following command can be used:
    % pkginfo -l SUNWamsvc || echo "Sun Java Access Manager not installed"
PKGINST:  SUNWamsvc
NAME:  Sun Java System Access Manager Services
CATEGORY:  application
ARCH:  all
VERSION:  7.1,REV=06.12.19.15.12
To determine the version of Sun Java System Access Manager on other systems, the following command can be used:
    $ <access-manager-install-dir>/bin/amadmin --version
Sun Java System Access Manager 7.1
(where <access-manager-install-dir> is the installation directory of the Sun Java System Access Manager).
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:

SPARC Platform
  • Sun Java System Access Manager 7.1 (for Solaris 8, 9 and 10) with patch 126356-03 or later
  • Sun Java System Access Manager 7 2005Q4 (for Solaris 8, 9 and 10) with patch 120954-09 or later
  • Sun Java System Access Manager 6 2005Q1 (for Solaris 8, 9 and 10) with patch 119465-16 or later
x86 Platform
  • Sun Java System Access Manager 7.1 (for Solaris 8, 9 and 10) with patch 126357-03 or later
  • Sun Java System Access Manager 7 2005Q4 (for Solaris 9 and 10) with patch 120955-09 or later
  • Sun Java System Access Manager 6 2005Q1 (for Solaris 8, 9 and 10) with patch 119465-16 or later
Linux Platform
  • Sun Java System Access Manager 7.1 with patch 126358-03 or later
  • Sun Java System Access Manager 7 2005Q4 with patch 120956-09 or later
  • Sun Java System Access Manager 6 2005Q1 with patch 119502-16 or later
Windows Platform
  • Sun Java System Access Manager 7.1 with patch 126359-03 or later
  • Sun Java System Access Manager 7 2005Q4 with patch 124296-09 or later
HP-UX
  • Sun Java System Access Manager 7 2005Q4 with patch 126371-09 or later
Other
  • Sun Java System Access Manager 7.1 WAR file-based installation (all platforms) with patch 140504-03 or later
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

120954-09
120955-09
120956-09
124296-09
126371-09
119465-16
119502-16
126356-03
126357-03
126358-03
126359-03
140504-03





Attachments
This solution has no attachment