CVE-2012-4681: Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability
Vulnerability summary
CVE-2012-4681 is a high (CVSS 10.0) Improper Access Control vulnerability in Oracle Java SE. It is known to be exploited: CISA lists it, first on 03-03-2022. It has been used in ransomware campaigns. EPSS estimates a 98.54% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 4 public exploits are recorded.
Known ransomware use (CISA, 03-03-2022)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Duplicates 1 · Related 1Timeline
- 28-08-2012PublishedVulnerability first disclosed.
- 03-03-2022Added to CISA KEVExploitedOracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability
- 24-03-2022CISA remediation dueDeadline passedApply updates per vendor instructions.
- 06-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
98.54%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
No change 0.00 pp
From 98.54% on 04-10-2026
Known exploited
Compare KEV catalogs- Added
- 03-03-2022
- Federal due date
- 24-03-2022
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
CISA required action
Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2012-4681
Public exploits
4 foundExploit Reference (labs.alienvault.com)
Maturity: unknown
Exploit Reference (immunityproducts.blogspot.com)
Maturity: unknown
Java 7 Applet - Remote Code Execution (Metasploit)
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat4 products
Oracle2 products
- jdk1.6.0 | 1.6.0:update1 | 1.6.0:update10 | 1.6.0:update11 | 1.6.0:update12 | 1.6.0:update13 | 1.6.0:update14 | 1.6.0:update15 | 1.6.0:update16 | 1.6.0:update17 | 1.6.0:update18 | 1.6.0:update19 | 1.6.0:update2 | 1.6.0:update20 | 1.6.0:update21 | 1.6.0:update22 | 1.6.0:update23 | 1.6.0:update24 | 1.6.0:update25 | 1.6.0:update26 | 1.6.0:update27 | 1.6.0:update29 | 1.6.0:update3 | 1.6.0:update30 | 1.6.0:update31 | 1.6.0:update32 | 1.6.0:update33 | 1.6.0:update34 | 1.6.0:update4 | 1.6.0:update5 | 1.6.0:update6 | 1.6.0:update7 | 1.6.0:update8 | 1.6.0:update9 | 1.7.0 | 1.7.0:update1 | 1.7.0:update2 | 1.7.0:update3 | 1.7.0:update4 | 1.7.0:update5 | 1.7.0:update6
- jre1.6.0 | 1.6.0:update1 | 1.6.0:update10 | 1.6.0:update11 | 1.6.0:update12 | 1.6.0:update13 | 1.6.0:update14 | 1.6.0:update15 | 1.6.0:update16 | 1.6.0:update17 | 1.6.0:update18 | 1.6.0:update19 | 1.6.0:update2 | 1.6.0:update20 | 1.6.0:update21 | 1.6.0:update22 | 1.6.0:update23 | 1.6.0:update24 | 1.6.0:update25 | 1.6.0:update26 | 1.6.0:update27 | 1.6.0:update29 | 1.6.0:update3 | 1.6.0:update30 | 1.6.0:update31 | 1.6.0:update32 | 1.6.0:update33 | 1.6.0:update34 | 1.6.0:update4 | 1.6.0:update5 | 1.6.0:update6 | 1.6.0:update7 | 1.6.0:update9 | 1.7.0 | 1.7.0:update1 | 1.7.0:update2 | 1.7.0:update3 | 1.7.0:update4 | 1.7.0:update5 | 1.7.0:update6
2 vendors · 6 products
References
14 links- blog.fireeye.com/research/2012/08/zero-day-season-is-not-over-yet.htmlX Refsource MISCThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2012-10/msg00016.htmlVendor AdvisoryX Refsource SUSEMailing List
- lists.opensuse.org/opensuse-security-announce/2012-09/msg00032.htmlVendor AdvisoryX Refsource SUSEMailing List
- www.us-cert.gov/cas/techalerts/TA12-240A.htmlThird Party AdvisoryX Refsource CERTUS Government Resource
- labs.alienvault.com/labs/index.php/2012/new-java-0day-exploited-in-the-wild/X Refsource MISCBroken LinkExploit
- marc.info?l=bugtraq&m=135109152819176&w=2Vendor AdvisoryX Refsource HPIssue TrackingMailing ListThird Party Advisory
- community.rapid7.com/community/metasploit/blog/2012/08/27/lets-start-the-week-with-a-new-java-0dayX Refsource MISCBroken LinkThird Party Advisory
- www.deependresearch.org/2012/08/java-7-vulnerability-analysis.htmlX Refsource MISCBroken LinkThird Party Advisory
- www.oracle.com/technetwork/topics/security/alert-cve-2012-4681-1835715.htmlX Refsource CONFIRMVendor Advisory
Show all 14 references
- immunityproducts.blogspot.com/2012/08/java-0day-analysis-cve-2012-4681.htmlX Refsource MISCExploitThird Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-4681Government ResourceUS Government Resource