Sun JDK/JRE: Applet privilege escalation — GLSA 200602-07

Sun's Java Development Kit (JDK) and Java Runtime Environment (JRE) do not adequately constrain applets from privilege escalation and arbitrary code execution.

Affected Packages

dev-java/sun-jdk on all architectures
Affected versions < 1.4.2.10
Unaffected versions >= 1.4.2.10
dev-java/sun-jre-bin on all architectures
Affected versions < 1.4.2.10
Unaffected versions >= 1.4.2.10

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.

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:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-java/sun-jdk-1.4.2.10"

All Sun JRE users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-java/sun-jre-bin-1.4.2.10"

References

Release Date
February 15, 2006

Latest Revision
February 15, 2006: 01

Severity
normal

Exploitable
remote

Bugzilla entries
{"cc_re__cc_re__cc_by_sa_3_0": ["><a href=\"https://www.facebook.com/gentoo.org\" title=\"Gentoo on Facebook\"><span class=\"fa fa-facebook fa-fw\"></span></a></li>\n            </ul>\n          </div>\n          <div class=\"col-xs-10 col-sm-9 col-md-10\">\n            <strong>&copy; 2001&ndash;2017 Gentoo Foundation, Inc.</strong><br />\n            <small>\n              Gentoo is a trademark of the Gentoo Foundation, Inc.\n              The contents of this document, unless otherwise expressly stated, are licensed under the\n              <a href=\"https://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">CC-BY-SA-3.0</a> license.\n              The <a href=\"https://www.gentoo.org/inside-gentoo/foundation/name-logo-guidelines.html\">Gentoo Name and Logo Usage Guidelines</a> apply.\n            </small>\n          </div>\n        </div>\n      </div>\n    </footer>\n\n    <script src=\"https://1b9a50f4f9de4348cd9f-e703bc50ba0aa66772a874f8c7698be7.ssl.cf5.rackcdn.com/jquery.min.js\"></script>\n    <script src=\"https://1b9a50f4f9de4348cd9f-e703bc50ba0aa66772a874f8c7698be7.ssl.cf5.rackcdn.com/bootstrap.min.js\"><"]}