GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Wed Feb 15, 2006 2:26 am Post subject: [ GLSA 200602-07 ] Sun JDK/JRE: Applet privilege escalation |
|
|
Gentoo Linux Security Advisory
Title: Sun JDK/JRE: Applet privilege escalation (GLSA 200602-07)
Severity: normal
Exploitable: remote
Date: February 15, 2006
Bug(s): #122156
ID: 200602-07
Synopsis
Sun's Java Development Kit (JDK) and Java Runtime Environment (JRE) do not adequately constrain applets from privilege escalation and arbitrary code execution.
Background
Sun's JDK and JRE provide interpreters for Java Applets in a sandboxed environment. These implementations provide the Java Web Start technology that can be used for easy client-side deployment of Java applications.
Affected Packages
Package: dev-java/sun-jdk
Vulnerable: < 1.4.2.10
Unaffected: >= 1.4.2.10
Architectures: All supported architectures
Package: dev-java/sun-jre-bin
Vulnerable: < 1.4.2.10
Unaffected: >= 1.4.2.10
Architectures: All supported architectures
Description
Applets executed using JRE or JDK can use "reflection" APIs functions to elevate its privileges beyond the sandbox restrictions. Adam Gowdiak discovered five vulnerabilities that use this method for privilege escalation. Two more vulnerabilities were discovered by the vendor. Peter Csepely discovered that Web Start Java applications also can an escalate their privileges.
Impact
A malicious Java applet can bypass Java sandbox restrictions and hence access local files, connect to arbitrary network locations and execute arbitrary code on the user's machine. Java Web Start applications are affected likewise.
Workaround
Select another Java implementation using java-config.
Resolution
All Sun JDK users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=dev-java/sun-jdk-1.4.2.10" | All Sun JRE users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=dev-java/sun-jre-bin-1.4.2.10" |
References
Sun Security Alert ID 102170
Sun Security Alert ID 102171
CVE-2006-0614
CVE-2006-0615
CVE-2006-0616
CVE-2006-0617
Last edited by GLSA on Sun May 07, 2006 5:00 pm; edited 1 time in total |
|