-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                  ESB-2007.0491 -- [Win][Linux][Solaris]
         Cross-site Scripting Vulnerability (XSS) Affecting Pages
                        Generated with JavaDoc Tool
                                5 July 2007

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

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:              JavaDoc, JDK 6
                      JavaDoc, JDK 5.0 Update 11 and earlier
Publisher:            Sun Microsystems
Operating System:     Linux variants
                      Solaris
                      Windows
Impact:               Cross-site Scripting
Access:               Remote/Unauthenticated
CVE Names:            CVE-2007-3503

Original Bulletin:    
http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-102958-1

Revision History:  July 5 2007: Patches released
                   July 3 2007: Added CVE Name
                   July 2 2007: Initial Release

- --------------------------BEGIN INCLUDED TEXT--------------------

Sun(sm) Alert Notification
     * Sun Alert ID: 102958
     * Synopsis: Cross-site Scripting Vulnerability (XSS) Affecting Pages
       Generated with JavaDoc Tool
     * Category: Security
     * Product: Java 2 Platform, Standard Edition
     * BugIDs: 6490790
     * Avoidance: Upgrade
     * State: Resolved
     * Date Released: 28-Jun-2007
     * Date Closed: 28-Jun-2007
     * Date Modified: 03-Jul-2007

1. Impact

   A defect in the Javadoc tool in various releases of the JDK may lead
   to the generation of HTML documentation pages which contain a
   potential cross-site scripting (XSS) vulnerability. This may allow a
   remote user to gain access to cookies from the website that hosts the
   generated documentation.

   Sun acknowledges, with thanks, Martin Straka, for bringing this issue
   to our attention.

2. Contributing Factors

   This issue can occur in the following releases for all platforms
   (Solaris, Linux, and Windows):
     * JDK 5.0 Update 11 and earlier
     * JDK 6

   Note: The Javadoc tool included in SDK 1.4.x and earlier is not
   affected by this issue.

   To determine the version of Java on a system, the following command
   can be run:
    % java -version
    java version "1.5.0_02-b09"

   For this vulnerability to be exploited, a user must click a link
   (created by a malicious user) in a website or email that points to a
   vulnerable "index.html" documentation page. The user's cookies from
   the website that hosts the "index.html" documentation page may then be
   accessed by the malicious user.

3. Symptoms

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

4. Relief/Workaround

   Please see the "Note" in the Resolution section below.

5. Resolution

   This issue is addressed in the following releases for all platforms
   (Solaris, Linux, and Windows):
     * JDK 5.0 Update 12 or later
     * JDK 6 Update 1 or later

   J2SE 5.0 Update 12 for Solaris is available in the following patches:
     * J2SE 5.0: update 12 (as delivered in patch 118666-12)
     * J2SE 5.0: update 12 (as delivered in patch 118667-12 (64bit))
     * J2SE 5.0_x86: update 12 (as delivered in patch 118668-12)
     * J2SE 5.0_x86: update 12 (as delivered in patch 118669-12
       (64bit))

   JDK 5.0 is available for download at the following link:

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

   Java SE 6 Update 1 for Solaris is available in the following patches:
     * Java SE 6: update 1 (as delivered in patch 125136-01)
     * Java SE 6: update 1 (as delivered in patch 125137-01 (64bit))
     * Java SE 6_x86: update 1 (as delivered in patch 125138-01)
     * Java SE 6_x86: update 1 (as delivered in patch 125139-01
       (64bit))

   JDK 6 is available for download at the following link:

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

   Note: In order to fully resolve this issue, any "index.html" page that
   was generated with an affected version of the Javadoc tool must be
   regenerated using a Javadoc tool in one of the releases mentioned in
   this resolution section.

Change History

   03-Jul-2007:
     * Updated Resolution section

   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

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBRow4+Sh9+71yA2DNAQJFjwP/bju41UqCYUaom87ZkU6899lOg3HREw5Z
yMXxicUkx6WyColk4lrfKkbOxMVs/Z1MO2c9F8VGU7dhYBfEToyb4ykSwtQJ53b7
n3ADVHW1ZpTFKfNGB50LwVMTo01zkUp6RpCl69oSVe9NAcJf9tC9exPdrYpo6CoS
hNAeU6Xoehk=
=sUtY
-----END PGP SIGNATURE-----