Sun Java Web Start java.policy file code execution

sun-java-javapolicy-code-execution (35169) The risk level is classified as MediumMedium Risk

Description:

Sun Java Web Start could allow a remote attacker to execute arbitrary code on the system, caused by a directory traversal vulnerability in the PersistenceService. By persuading a victim to view a specially-crafted applet, a remote attacker could exploit this vulnerability to overwrite arbitrary files, including the java.policy file, and invoke applets or Java Web Start applications and execute arbitrary code on the system with the privileges of the victim.

Platforms Affected:

  • Sun, JDK 1.5.0 Update11
  • Sun, JDK 1.5.0 Update9
  • Sun, JDK 1.5.0 Update8
  • Sun, JDK 1.5.0 Update7 B03
  • Sun, JDK 1.5.0 Update7
  • Sun, JDK 1.5.0 Update6
  • Sun, JDK 1.5.0 Update10
  • Sun, JDK 1.5.0 Update4
  • Sun, JDK 1.5.0 Update3
  • Sun, JDK 1.5.0 Update2
  • Sun, JDK 1.5.0 Update1
  • Sun, JDK 1.5.0
  • Sun, JDK 1.5.0 Update5
  • Sun, JRE 1.4.2 Update1
  • Sun, JRE 1.4.2 Update5
  • Sun, JRE 1.4.2 Update6
  • Sun, JRE 1.4.2 Update7
  • Sun, JRE 1.4.2
  • Sun, JRE 1.4.2 Update8
  • Sun, JRE 1.4.2 Update9
  • Sun, JRE 1.4.2 Update11
  • Sun, JRE 1.4.2 Update12
  • Sun, JRE 1.4.2 Update13
  • Sun, JRE 1.4.2 Update2
  • Sun, JRE 1.4.2 Update10
  • Sun, JRE 1.4.2 Update4
  • Sun, JRE 1.4.2 Update3
  • Sun, JRE 1.5.0 Update11
  • Sun, JRE 1.5.0 Update10
  • Sun, JRE 1.5.0 Update9
  • Sun, JRE 1.5.0 Update8
  • Sun, JRE 1.5.0 Update7
  • Sun, JRE 1.5.0 Update3
  • Sun, JRE 1.5.0
  • Sun, JRE 1.5.0 Update6
  • Sun, JRE 1.5.0 Update5
  • Sun, JRE 1.5.0 Update4
  • Sun, JRE 1.5.0 Update2
  • Sun, JRE 1.5.0 Update1
  • Sun, SDK 1.4.2
  • Sun, SDK 1.4.2_01
  • Sun, SDK 1.4.2_02
  • Sun, SDK 1.4.2_03
  • Sun, SDK 1.4.2_04
  • Sun, SDK 1.4.2_05
  • Sun, SDK 1.4.2_06
  • Sun, SDK 1.4.2_07
  • Sun, SDK 1.4.2_08
  • Sun, SDK 1.4.2_09
  • Sun, SDK 1.4.2_10
  • Sun, SDK 1.4.2_11
  • Sun, SDK 1.4.2_12
  • Sun, SDK 1.4.2_13

Remedy:

Refer to Sun Alert ID: 102957 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Apply the appropriate update for your system. See References.

Consequences:

Gain Access

References:

  • Apple Web site, About the security content of Java Release 6 for Mac OS X 10.4 at http://docs.info.apple.com/article.html?artnum=307177.
  • Full-Disclosure Mailing List, Mon Jul 02 2007 - 14:06:44 CDT, High Risk Flaw in Sun's Java Web Start at http://archives.neohapsis.com/archives/fulldisclosure/2007-07/0046.html.
  • Sun Alert ID: 102957, Security Vulnerability With Java Web Start May Allow Application to Escalate Privileges at http://sunsolve.sun.com/search/document.do?assetkey=1-26-102957-1.
  • ASA-2007-309: Security Vulnerability With Java Web Start May Allow Application to Escalate Privileges (Sun 102957)
  • BID-24695: Sun Java Web Start Arbitrary File Overwrite Privilege Escalation Vulnerability
  • CVE-2007-3504: Directory traversal vulnerability in the PersistenceService in Sun Java Web Start in JDK and JRE 5.0 Update 11 and earlier, and Java Web Start in SDK and JRE 1.4.2_13 and earlier, for Windows allows remote attackers to perform unauthorized actions via an application that grants file overwrite privileges to itself. NOTE: this can be leveraged to execute arbitrary code by overwriting a .java.policy file.
  • FrSIRT/ADV-2007-2384: Sun Java Web Start Arbitrary File Overwrite and Command Execution Vulnerability
  • FrSIRT/ADV-2007-4224: Apple Security Update Fixes Multiple Java for Mac OS X Vulnerabilities
  • SA25823: Sun Java Web Start Untrusted Application Arbitrary File Overwrite
  • SA28115: Mac OS X Java Multiple Vulnerabilities
  • SECTRACK ID: 1018328: Java Web Start Applet Privilege Escalation Bug Lets Remote Users Execute Arbitrary Code

Reported:

Jun 28, 2007

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page