Java Runtime Environment Does Not Securely Process XSLT Stylesheets Contained in XML Signatures



Category :Security
Release Phase :Resolved
Product :Java 2 Platform, Standard Edition  
Bug Id :6519471  
Date of Resolved Release :10-JUL-2007 


Impact

The Java XML Digital Signature implementation that is included in the JDK and JRE 6 release does not securely process XSLT stylesheets contained in XSLT Transforms in XML Signatures. This could lead to the execution of arbitrary code with the permissions of the application processing XML signatures that include these XSLT stylesheets.

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 (for Windows, Solaris, and Linux):

  • JDK and JRE 6 Update 1 and earlier

Note: SDK and JRE 5.0 and 1.4.x are not affected by this issue. (The XML Digital Signature implementation was not included in SDK and JRE 5.0 and 1.4.x releases).

For this vulnerability to be exploited, a trusted application needs to process an XML signature with an XSLT stylesheet that contains malicious content. This vulnerability cannot be exploited through an untrusted applet or untrusted Java Web Start application.

To determine the default version of the JRE on a system for Solaris and Linux, the following command can be run:

    % java -version

(The above command only determines the default version. Other versions may also be installed on the system).

To determine the default version of the JRE on a system for Windows:

  1. Click "Start"
  2. Select "Run"
  3. Type "cmd" (starts a command-line)
  4. At the prompt, type "java -version"

(The above command only determines the default version. Other versions may also be installed on the system).


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 (for Windows, Solaris, and Linux):

  • JDK and JRE 6 Update 2 or later

Java SE 6 is available for download at the following link:

http://java.sun.com/javase/downloads/index.jsp

Java SE 6 Update 2 for Solaris is available in the following patches:

  • Java SE 6 update 2 (as delivered in patch 125136-02 or later)
  • Java SE 6 update 2 (as delivered in patch 125137-02 or later (64bit))
  • Java SE 6_x86 update 2 (as delivered in patch 125138-02 or later)
  • Java SE 6_x86 update 2 (as delivered in patch 125139-02 or later (64bit))

Note: When installing a new version of the product from a source other than a Solaris patch, it is recommended that the old affected versions be removed from your system. For more information, please see the installation notes on the respective java.sun.com download pages.






Attachments
This solution has no attachment

 
 
Login Required

You must login and have a valid contract to access Sun's Premium content which includes:

  • Sun Alerts
  • Bugs
  • Patches
  • Solutions
  • White Papers
  • Documentation
  • Support Knowledge

Login Required

You must login and have a valid contract to access Sun's contracted features

Access Legend:

(Login to access)   Sun Contracted Content
(Login to access)   Sun Contracted Feature

Please make use of SunSolve Feedback application by selecting the floating [+] to provide feedback about this specific document.

Search

Article Details
Article ID : 200072
Article Type : Sun Alert
Last reviewed : 2007-07-10
Audience : PUBLIC
Keywords :
Provide feedback  (help)
Page Tools
»  Print This Page
»  Email This Article
»  Bookmark This Article
 
Contact About Sun News & Events Employment Site Map Privacy Terms of Use Trademarks Copyright Sun Microsystems, Inc. | SunSolve Version 7.4.0 #1