=====================================================================
                                   CERT-Renater

                        Note d'Information No. 2007/VULN297
_____________________________________________________________________

DATE                      : 12/07/2007

HARDWARE PLATFORM(S)      : /
                                               	
OPERATING SYSTEM(S)       : Java 2 Platform, Standard Edition

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


Sun(sm) Alert Notification
     * Sun Alert ID: 102993
     * Synopsis: Java Runtime Environment Does Not Securely Process XSLT
       Stylesheets Contained in XML Signatures
     * Category: Security
     * Product: Java 2 Platform, Standard Edition
     * BugIDs: 6519471
     * Avoidance: Patch, Upgrade
     * State: Resolved
     * Date Released: 10-Jul-2007
     * Date Closed: 10-Jul-2007
     * Date Modified:

1. 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.

2. 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).

3. Symptoms

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

4. Relief/Workaround

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

5. 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.

   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-2006 Sun Microsystems, Inc., 4150 Network Circle,
   Santa Clara, CA 95054 U.S.A. All rights reserved
======================================================================

          =========================================================
          Les serveurs de référence du CERT-Renater
          http://www.urec.fr/securite
          http://www.cru.fr/securite
          http://www.renater.fr
          =========================================================
          + CERT-RENATER          | tel : 01-53-94-20-44          +
          + 151 bd de l'Hopital   | fax : 01-53-94-20-41          +
          + 75013 Paris           | email: certsvp@renater.fr     +
          =========================================================






