CVE-2012-4681
CVE-2012-4681 — Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability
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.
Published Updated Sources: NVD, Oracle (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, Exploit-DB, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Mar 3, 2022
EPSS
99%
top of FIRST's scoreset
CVSS base
9.8
critical · 3 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade Java SE to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
CISA required action
Apply updates per vendor instructions.
Federal deadline Mar 24, 2022 — passed 1,716 days ago
Red Hat VEX · CVE-2012-4681
vendor_fix: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how t…
vendor_fix: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how t…
vendor_fix: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how t…
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Oracle | Java SE | n/a | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | critical | 3.9 | 5.9 | NVD, CNA, GHSA |
| 10.0 | CVSS 2.0 | high | 10 | 10 | NVD |
| 6.8 | CVSS 3.1 | medium | n/a | n/a | Red Hat (VEX) |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-284 · Improper Access Control
- Varies by Context::
Mitigation: Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Weakness & attack patterns
- CWE-284Improper Access Control
Inferred from the weakness class — not observed against this CVE.
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1546.004Event Triggered Execution: .bash_profile and .bashrc
- T1546.016Event Triggered Execution: Installer Packages
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Mar 3, 2022
Federal deadline
Mar 24, 2022
passed 1,716 days ago
Ransomware use
Known
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
14
2 of the 5 sampled are weaponized
Exploit entries
6
Exploit-DB and CTI exploit indexes
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Java SE.
- Monitor for scanner or exploit-pattern traffic after 20 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- hash28e985edba59127261da83fe963b0a3674d9007840acd8db505fec6ac455c98796
SOCRadar Threat Exchange Services · May 10, 2026
- hash40b4764b8c799fc0bc859fc912233e4cd10c20e696
SOCRadar Threat Exchange Services · May 10, 2026
- hashf05dada33b1b43b4281c2ea748b9c1ae96
SOCRadar Threat Exchange Services · May 10, 2026
- hashfac205247d3b19b5f82f5f4d1269a5c047b6c9ad9f21cc51b4b782c2b08a3b8788
SOCRadar Threat Exchange Services · Oct 2, 2026
- hash39aab72976d63f0218c3470c05afce5a896d28f860efaa598288d9409499b26b78
iocradar0-netizen - Threat Intelligence 1 · Sep 24, 2026
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 9.8 (AV:N)
Aug 6, 2026 · NVD
- 2025
Bulletin released on Mitre.
Jul 28, 2025 · SOCRadar CTI
Bulletin released on NIST.
Feb 11, 2025 · SOCRadar CTI
Bulletin released on NIST.
Jan 7, 2025 · SOCRadar CTI
- 2023
CVE is exploited. "Ostorlab/KEV"
Dec 26, 2023 · SOCRadar CTI
CVE is exploited. "Ostorlab/known_exploited_vulnerbilities_detectors"
Dec 15, 2023 · SOCRadar CTI
CVE is exploited. "ZH3FENG/PoCs-CVE_2012_4681"
Dec 15, 2023 · SOCRadar CTI
CVE is exploited. "hackerhouse-opensource/exploits"
Dec 15, 2023 · SOCRadar CTI
- 2022
Added · GHSA-fw99-8m5g-58p8 published (high)
May 14, 2022 · GitHub Security Advisory
Added to CISA KEV catalog
Mar 3, 2022 · CISA
- 2012
Initial · CVE published
Aug 28, 2012 · NVD
CVE published by MITRE.
Aug 28, 2012 · SOCRadar CTI
Added · Verified remote entry: Oracle Java 7 Applet - Remote Code Execution (RCE) (Metasploit)
Aug 27, 2012 · Exploit-DB
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 8×Github ReposAug 7, 2013 – Dec 22, 2022 · SOCRadar CTI
- 6×ModifiedAug 28, 2012 – Apr 22, 2026 · SOCRadar CTI
- 3×Tweets · 1 times tweetedDec 22, 2022 – Feb 17, 2024 · SOCRadar CTI
References
24 on the record
- blog.fireeye.com/research/2012/08/zero-day-season-is-not-over-yet.html
Third Party Advisory, NIST
- immunityproducts.blogspot.com/2012/08/java-0day-analysis-cve-2012-4681.html
Exploit, Third Party Advisory, NIST
- labs.alienvault.com/labs/index.php/2012/new-java-0day-exploited-in-the-wild/
Broken Link, Exploit, Vendor Advisory
- lists.opensuse.org/opensuse-security-announce/2012-09/msg00032.html
Mailing List, Mitre, NIST
- lists.opensuse.org/opensuse-security-announce/2012-10/msg00016.html
Mailing List, Mitre, NIST
- marc.info/?l=bugtraq&m=135109152819176&w=2
Issue Tracking, Mailing List, Third Party Advisory
- rhn.redhat.com/errata/RHSA-2012-1225.html
Third Party Advisory, Mitre, NIST
- secunia.com/advisories/51044
Not Applicable, Mitre, NIST
Coverage
2 stories from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2013-2465 Oracle Java SE Unspecified VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2012-0507 Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2026-34908 Ubiquiti UniFi OS Improper Access Control VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2026-21962 Oracle HTTP Server and Oracle Weblogic Server Proxy Plug-in Improper Access Control VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2015-3306 ProFTPD Improper Access Control VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2013-0422 Oracle JRE Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
- Oracleevery CVE for this vendor
- Java SEevery page on this product
- March 2022what else CISA listed
- Access Controlsame class
- CWE-284other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2012-4681 is Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability, a critical vulnerability affecting Java SE from Oracle. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 20 public PoC repositories reported; 2 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 99% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.