OpenJDK: beans insufficient permission checks, Java 7 0day (beans, 7162473)
Published Aug 28, 2012 ·Due Mar 24, 2022
9.8
CRITICALCVSS 3.1
EPSS 98.54%
Description
Multiple vulnerabilities in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 6 and earlier allow remote attackers to execute arbitrary code via a crafted applet that bypasses SecurityManager restrictions by (1) using com.sun.beans.finder.ClassFinder.findClass and leveraging an exception with the forName method to access restricted classes from arbitrary packages such as sun.awt.SunToolkit, then (2) using "reflection with a trusted immediate caller" to leverage the getField method to access and modify private fields, as exploited in the wild in August 2012 using Gondzz.class and Gondvv.class.
Affected products
No data.
Configuration 1
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.7.0
- 1.7.0
- 1.7.0
- 1.7.0
- 1.7.0
- 1.7.0
- 1.7.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.6.0
- 1.7.0
- 1.7.0
- 1.7.0
- 1.7.0
- 1.7.0
- 1.7.0
- 1.7.0
Configuration 2
- 6.0
- 6.3
- 6.0
- 6.0
No data.
Red Hat Enterprise Linux 6
java-1.7.0-openjdk-1:1.7.0.5-2.2.1.el6_3.3
Fixed · RHSA-2012:1223
Supplementary for Red Hat Enterprise Linux 6
java-1.7.0-ibm-1:1.7.0.2.0-1jpp.3.el6_3
Fixed · RHSA-2012:1289
Supplementary for Red Hat Enterprise Linux 6
java-1.7.0-oracle-1:1.7.0.7-1jpp.5.el6_3
Fixed · RHSA-2012:1225
Red Hat Enterprise Linux 5
java-1.6.0-ibm
Not affected
Red Hat Enterprise Linux 5
java-1.6.0-openjdk
Not affected
Red Hat Enterprise Linux 5
java-1.6.0-sun
Not affected
Red Hat Enterprise Linux 5
java-1.7.0-openjdk
Affected
Red Hat Enterprise Linux 5
java-1.7.0-oracle
Affected
Red Hat Enterprise Linux 6
java-1.6.0-ibm
Not affected
Red Hat Enterprise Linux 6
java-1.6.0-openjdk
Not affected
Red Hat Enterprise Linux 6
java-1.6.0-sun
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | java-1.7.0-openjdk-1:1.7.0.5-2.2.1.el6_3.3 | Fixed | RHSA-2012:1223 |
| Supplementary for Red Hat Enterprise Linux 6 | java-1.7.0-ibm-1:1.7.0.2.0-1jpp.3.el6_3 | Fixed | RHSA-2012:1289 |
| Supplementary for Red Hat Enterprise Linux 6 | java-1.7.0-oracle-1:1.7.0.7-1jpp.5.el6_3 | Fixed | RHSA-2012:1225 |
| Red Hat Enterprise Linux 5 | java-1.6.0-ibm | Not affected | n/a |
| Red Hat Enterprise Linux 5 | java-1.6.0-openjdk | Not affected | n/a |
| Red Hat Enterprise Linux 5 | java-1.6.0-sun | Not affected | n/a |
| Red Hat Enterprise Linux 5 | java-1.7.0-openjdk | Affected | n/a |
| Red Hat Enterprise Linux 5 | java-1.7.0-oracle | Affected | n/a |
| Red Hat Enterprise Linux 6 | java-1.6.0-ibm | Not affected | n/a |
| Red Hat Enterprise Linux 6 | java-1.6.0-openjdk | Not affected | n/a |
| Red Hat Enterprise Linux 6 | java-1.6.0-sun | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This flaw allowed an attacker to circumvent all restrictions applied by the Java security manager. The Java security manager is used to sandbox Java applets in web browsers, but is also used in a variety of other applications. Red Hat has tested the flaw and confirmed that it affected Java SE 7 provided by OpenJDK 7 (java-1.7.0-openjdk), Oracle Java SE 7 (java-1.7.0-oracle) and IBM Java SE 7 (java-1.7.0-ibm) as shipped with Red Hat Enterprise Linux 6. Updates correcting this issue were released for all affected packages.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:C/I:C/A:C
Date Added
Mar 3, 2022
Patch Due
Mar 24, 2022
Required Action
Apply updates per vendor instructions.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
ActiveAutomatable
YesTechnical Impact
TotalDecision
n/aAssessed Aug 5, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 98.54% (0.98536) | 99.92th | v5 (v2026.06.15) |
| Jun 15, 2026 | 98.54% (0.98536) | 99.92th | v5 (v2026.06.15) |
| Mar 17, 2025 | 94.19% (0.94188) | 99.91th | v4 (v2025.03.14) |
| Dec 17, 2024 | 93.91% (0.93914) | 99.36th | v3 (v2023.03.01) |
| Dec 12, 2024 | 97.52% (0.97516) | 99.99th | v3 (v2023.03.01) |
| Sep 21, 2023 | 97.52% (0.97523) | 99.98th | v3 (v2023.03.01) |
| Jul 18, 2023 | 97.53% (0.97532) | 99.98th | v3 (v2023.03.01) |
| May 8, 2023 | 97.54% (0.97538) | 99.98th | v3 (v2023.03.01) |
| Mar 15, 2023 | 97.51% (0.97508) | 99.96th | v3 (v2023.03.01) |
| Mar 7, 2023 | 97.52% (0.97517) | 99.97th | v3 (v2023.03.01) |
| Mar 6, 2023 | 92.02% (0.92021) | 99.90th | v2 (v2022.01.01) |
| Feb 4, 2022 | 92.02% (0.92021) | 99.88th | v2 (v2022.01.01) |
References (19)
- http://blog.fireeye.com/research/2012/08/zero-day-season-is-not-over-yet.html x_refsource_MISCThird Party Advisory
- http://immunityproducts.blogspot.com/2012/08/java-0day-analysis-cve-2012-4681.html x_refsource_MISCExploitThird Party Advisory
- http://labs.alienvault.com/labs/index.php/2012/new-java-0day-exploited-in-the-wild/ x_refsource_MISCBroken LinkExploit
- http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00032.html vendor-advisoryx_refsource_SUSEMailing List
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00016.html vendor-advisoryx_refsource_SUSEMailing List
- http://marc.info/?l=bugtraq&m=135109152819176&w=2 vendor-advisoryx_refsource_HPIssue TrackingMailing ListThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2012-1225.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://secunia.com/advisories/51044 third-party-advisoryx_refsource_SECUNIANot Applicable
- http://www.deependresearch.org/2012/08/java-7-vulnerability-analysis.html x_refsource_MISCBroken LinkThird Party Advisory
- http://www.oracle.com/technetwork/topics/security/alert-cve-2012-4681-1835715.html x_refsource_CONFIRMVendor Advisory
- http://www.securityfocus.com/bid/55213 vdb-entryx_refsource_BIDBroken LinkThird Party AdvisoryVDB Entry
- http://www.us-cert.gov/cas/techalerts/TA12-240A.html third-party-advisoryx_refsource_CERTThird Party AdvisoryUS Government Resource
- https://access.redhat.com/security/cve/CVE-2012-4681 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=852051 Issue Tracking
- https://community.rapid7.com/community/metasploit/blog/2012/08/27/lets-start-the-week-with-a-new-java-0day x_refsource_MISCBroken LinkThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2012-4681
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-4681 government-resourceUS Government Resource
- https://www.cve.org/CVERecord?id=CVE-2012-4681
Change history (0)
No recorded changes yet.