Bug 859155 - JDK: browser plugin allows changing SecurityManager for all applets
Summary: JDK: browser plugin allows changing SecurityManager for all applets
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 856136
TreeView+ depends on / blocked
 
Reported: 2012-09-20 16:39 UTC by Tomas Hoger
Modified: 2019-09-29 12:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-28 21:02:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Tomas Hoger 2012-09-20 16:39:14 UTC
The Oracle and IBM Java SE browser plugin allows signed applets running with full privileges to replace SecurityManager.  This change, however, is not limited to the current applet that performed the change, but also affects other applets.  An attacker able to make a victim to run a signed applet that changes SecurityManager (the attacker does not need to have control over what this applet does, they only need to find one that the victim is likely to run and that installs more permissive SecurityManager) and later navigate the victim to a page that contains unsigned attacker-controlled applet could possibly use this flaw to have their unsigned applet code run with additional privileges.

This issue did not affect IcedTea-Web browser plugin, which does not allow applets to replace SecurityManager:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1094

Comment 3 Tomas Hoger 2013-04-17 10:46:40 UTC
Oracle has classified this as security-in-depth fix.  Java SE CPU April 2013 addresses this issue:

http://www.oracle.com/technetwork/topics/security/javacpuapr2013-1928497.html

Comment 4 Tomas Hoger 2014-02-28 21:02:38 UTC
IBM JDKs plugin was also fixed in updates for Java SE CPU April 2013.  Therefore, Oracle/Sun JDKs were fixed in 7u21 and 6u45, and IBM JDKs were fixed in 7 SR4-FP2 and 6 SR13-FP2.

Matching Red Hat Enterprise Linux errata are:

https://rhn.redhat.com/errata/RHSA-2013-0757.html
https://rhn.redhat.com/errata/RHSA-2013-0758.html
https://rhn.redhat.com/errata/RHSA-2013-0822.html
https://rhn.redhat.com/errata/RHSA-2013-0823.html


Note You need to log in before you can comment on or make changes to this bug.