copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2007.0522 -- [Win][UNIX/Linux] -- Security Vulnerability in Java Web Start URL Parsing Code May Allow Untrusted Applications to Elevate Privileges

Date: 13 July 2007

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                    ESB-2007.0522 -- [Win][UNIX/Linux]
         Security Vulnerability in Java Web Start URL Parsing Code
          May Allow Untrusted Applications to Elevate Privileges
                               13 July 2007

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

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

Product:              Java 2 Platform, Standard Edition
Publisher:            Sun Microsystems
Operating System:     UNIX variants (UNIX, Linux, OSX)
                      Windows
Impact:               Execute Arbitrary Code/Commands
Access:               Remote/Unauthenticated
CVE Names:            CVE-2007-3504

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

Revision History:     July 13 2007: Added CVE number
                      July 12 2007: Initial Release

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

Sun(sm) Alert Notification
     * Sun Alert ID: 102996
     * Synopsis: Security Vulnerability in Java Web Start URL Parsing
       Code May Allow Untrusted Applications to Elevate Privileges
     * Category: Security
     * Product: Java 2 Platform, Standard Edition
     * BugIDs: 6501487
     * Avoidance: Patch, Upgrade
     * State: Resolved
     * Date Released: 10-Jul-2007
     * Date Closed: 10-Jul-2007
     * Date Modified: 

1. Impact

   A buffer overflow vulnerability in the Java Web Start URL parsing code
   may allow an untrusted application to elevate its privileges. For
   example, an application may grant itself permissions to read and write
   local files or execute local applications with the privileges of the
   user running the Java Web Start application.

   Sun acknowledges with thanks, Brett Moore of Security-Assessment.com
   for discovering and reporting this issue.

   Sun also acknowledges eEye Digital Security for bringing this issue to
   our attention.

2. Contributing Factors

   This issue can occur in the following releases (for Windows, Solaris,
   and Linux):
     * Java Web Start in JDK and JRE 6 Update 1 and earlier
     * Java Web Start in JDK and JRE 5.0 Update 11 and earlier

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

   Note: Java Web Start in SDK and JRE 1.4.x are not affected by this
   issue.

3. Symptoms

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

4. Relief/Workaround

   To reduce the likelihood of executing untrusted applications which may
   allow this issue to be exploited, Java Web Start applications may be
   disabled temporarily (until the updates or patches have been
   installed) as follows:

   For Internet Explorer (Windows):
    1. Right click on the "Start" button and select "Explore"
    2. In the "Start Menu" window, select "Tools" => "Folder Options"
    3. From the "Folder Options" window, select the "File Types" tab
    4. From the "Registered File Types" window, scroll down and locate
       the "JNLP - JNLP File"
    5. Select the "JNLP - JNLP File" and click the "Delete" button

   For Mozilla:
    1. Select "Preferences" under the browser's "Edit" menu
    2. In the "Preferences" window, select "Helper Applications" located
       under the "Navigator" category
    3. Under "Files types", scroll down and locate
       "application/x-java-jnlp-file"
    4. Select "application/x-java-jnlp-file" and click the "Remove"
       button

   Note 1: On Microsoft Windows, applications may also be launched from
   the desktop icon or Start Menu if a shortcut was previously created
   for an application. Unknown applications should not be launched
   through the desktop icon or the Start Menu. Shortcuts can be removed
   by using the Java Web Start Application Manager through the
   "Application/Remove Shortcut" menu item. For more information, see:

   http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/ov
   erview.html#jws

   Note 2: It is also possible to launch applications through the command
   line in Windows, Solaris, and Linux. Unknown applications should not
   be launched through the command line. Sites may consider renaming the
   Java Web Start launcher ("javaws.exe" for Windows and "javaws" for
   Solaris and Linux) to prevent Java Web Start from launching.

   The launcher can be found at:

   Windows:

   C:\Program Files\java\j2re1.5.0\javaws\javaws.exe

   Solaris (if installed using pkg):

   /usr/bin/javaws

   Linux (if installed using rpm):

   /usr/java/jre1.5.0/bin/javaws

5. Resolution

   This issue is addressed in the following releases (for Windows,
   Solaris, and Linux):
     * Java Web Start in JDK and JRE 6 Update 2 or later
     * Java Web Start in JDK and JRE 5.0 Update 12 or later

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

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

   J2SE 5.0 is available for download at the following link:

   http://java.sun.com/j2se/1.5.0/download.jsp

   J2SE 5.0 Update 12 for Solaris is available in the following patches:
     * J2SE 5.0: update 12 (as delivered in patch 118666-12 or later)
     * J2SE 5.0: update 12 (as delivered in patch 118667-12 or later
       (64bit))
     * J2SE 5.0_x86: update 12 (as delivered in patch 118668-12 or
       later)
     * J2SE 5.0_x86: update 12 (as delivered in patch 118669-12 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. To remove old affected versions on the
   Windows platform, please see:

   http://java.com/en/download/help/uninstall_java.xml

   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

iQCVAwUBRpbGpyh9+71yA2DNAQKmrwQAmsu7wP4N2H4r5AGMJGKeR/Gausq2tdzt
QEt8cpb6r67qBUS5PUANPmDXHRzPPOfxw8jQXur36If7QelbhSwXTZ+nZ6hGz34j
gh9/LADqqkqkBxcIROQFKIEjjbNKOh5M+BTz6G9ebdhHGBI/VF8gvC/h7D6+WJgc
4k+hc0GHhQY=
=Am/o
-----END PGP SIGNATURE-----