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

Security Vulnerability in Processing XSLT Stylesheets Affects Sun Java System Application Server and Web Server



Category
Security

Release Phase
Resolved

Product
Sun Java System Application Server Standard Edition 8.2
Sun Java System Application Server Enterprise Edition 8.2
Sun Java System Application Server Platform Edition 9.0 Update 1
Sun Java System Application Server PE 9
Sun Java System Web Server 7.0

Bug Id
6542007, 6523817

Date of Workaround Release
10-JUL-2007

Date of Resolved Release
26-OCT-2007

Impact

Certain releases of Sun Java System Application Server and Sun Java System Web Server (listed in "Contributing Factors") do not securely process XSLT stylesheets contained in XSLT Transforms in XML Signatures. This could allow malicious XLST stylesheets to be executed which may, for example, allow execution of an arbitrary Java method.

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


Contributing Factors

This issue can occur in the following releases:

SPARC Platform

  • Sun Java System Web Server 7.0 without Update 1
  • Sun Java System Web Server 7.0 without patch 125437-07
  • Sun Java System Application Server Platform Edition 8.2 without file-based patch 124679-01 or SVR4 patch 124672-02
  • Sun Java System Application Server Enterprise Edition 8.2 without file-based patch 124675-01 or SVR4 patch 124672-02
  • Sun Java System Application Server Platform Edition 9.0 without file-based patch 124609-05

x86 Platform

  • Sun Java System Web Server 7.0 without Update 1
  • Sun Java System Web Server 7.0 without patch 125438-07
  • Sun Java System Application Server Platform Edition 8.2 without file-based patch 124680-01 or SVR4 patch 124673-02
  • Sun Java System Application Server Enterprise Edition 8.2 without file-based patch 124676-01 or SVR4 patch 124673-02
  • Sun Java System Application Server Platform Edition 9.0 without file-based patch 124610-05

Linux

  • Sun Java System Web Server 7.0 without Update 1
  • Sun Java System Web Server 7.0 without patch 125439-07
  • Sun Java System Application Server Platform Edition 8.2 without file-based patch 124681-01 or RHEL3.0/RHEL4.0 (Pkg_patch) 124674-02
  • Sun Java System Application Server Enterprise Edition 8.2 without file-based patch 124677-01 or RHEL3.0/RHEL4.0 (Pkg_patch) 124674-02
  • Sun Java System Application Server Platform Edition 9.0 without file-based patch 124611-05

Windows

  • Sun Java System Web Server 7.0 without Update 1
  • Sun Java System Web Server 7.0 without patch 125441-06
  • Sun Java System Application Server Platform Edition 8.2 without file-based patch 124682-01
  • Sun Java System Application Server Enterprise Edition 8.2 without file-based patch 124678-01 or package-based patch 124684-02
  • Sun Java System Application Server Platform Edition 9.0 without file-based patch 124612-05

HP-UX

  • Sun Java System Web Server 7.0 without Update 1
  • Sun Java System Web Server 7.0 without patch 125440-01

Note: No other versions of the applications listed above are vulnerable to this issue.

To determine the version of Sun Java System Application server on a system, the following command can be run:

    $ <AS_INSTALL>/bin/asadmin version --verbose

(Where <AS_INSTALL> is the installation directory of the Application Server).

To determine the version of Sun Java System Web Server 7.0 on a system, the following command can be run:

    $ <WS-install>/bin/wadm --version

(Where <WS-install> is the installation directory of the Web Server).

Note: Bug 6523817 only impacts Sun Java System Web Server, and bug 6542007 impacts Sun Java System Application Server.


Symptoms

There are no predictable symptoms that would indicate the described issue has been exploited.


Workaround

There is no workaround for this issue. Please see the Resolution section below.


Resolution

This issue is addressed in the following releases:

SPARC Platform

  • Sun Java System Web Server 7.0 with Update 1 or later
  • Sun Java System Web Server 7.0 with patch 125437-07 or later
  • Sun Java System Application Server Platform Edition 8.2 with file-based patch 124679-01 or SVR4 patch 124672-02 or later
  • Sun Java System Application Server Enterprise Edition 8.2 with file-based patch 124675-01 or SVR4 patch 124672-02 or later
  • Sun Java System Application Server Platform Edition 9.0 with file-based patch 124609-05 or later

x86 Platform

  • Sun Java System Web Server 7.0 with Update 1 or later
  • Sun Java System Web Server 7.0 with patch 125438-07 or later
  • Sun Java System Application Server Platform Edition 8.2 with file-based patch 124680-01 or SVR4 patch 124673-02 or later
  • Sun Java System Application Server Enterprise Edition 8.2 with file-based patch 124676-01 or SVR4 patch 124673-02 or later
  • Sun Java System Application Server Platform Edition 9.0 with file-based patch 124610-05 or later

Linux

  • Sun Java System Web Server 7.0 with Update 1 or later
  • Sun Java System Web Server 7.0 with patch 125439-07 or later
  • Sun Java System Application Server Platform Edition 8.2 with file-based patch 124681-01 or RHEL3.0/RHEL4.0 (Pkg_patch) 124674-02 or later
  • Sun Java System Application Server Enterprise Edition 8.2 with file-based patch 124677-01 or RHEL3.0/RHEL4.0 (Pkg_patch) 124674-02 or later
  • Sun Java System Application Server Platform Edition 9.0 with file-based patch 124611-05 or later

Windows

  • Sun Java System Web Server 7.0 with Update 1 or later
  • Sun Java System Web Server 7.0 with patch 125441-06 or later
  • Sun Java System Application Server Platform Edition 8.2 with file-based patch 124682-01 or later
  • Sun Java System Application Server Enterprise Edition 8.2 with file-based patch 124678-01 or package-based patch 124684-02 or later
  • Sun Java System Application Server Platform Edition 9.0 with file-based patch 124612-05 or later

HP-UX

  • Sun Java System Web Server 7.0 with Update 1 or later
  • Sun Java System Web Server 7.0 with patch 125440-01 or later

Sun Java System Web Server 7.0 Update 1 is available at

http://www.sun.com/download/products.xml?id=467713d6



Modification History
Date: 29-AUG-2007
  • Updated Contributing Factors and Resolution sections

Date: 26-OCT-2007
  • Updated Contributing Factors and Resolution sections
  • State: Resolved


References

125437-07
125438-07
125439-07
125440-01
125441-06
124672-02
124673-02
124674-02
124675-01
124676-01
124677-01
124678-01
124679-01
124680-01
124681-01
124682-01
124684-02
125437-07
125438-07
125439-07
125440-01
125441-06
124609-04
124610-04
124611-04
124612-04
124609-05
124610-05
124611-05
124612-05




Attachments
This solution has no attachment