CVE-2012-4681 · NVD published 28 Aug 2012
Oracle Java SE
On CISA's KEV list 3474 days after disclosure; 5 public exploits; 1 attacker cited in reports.
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.
CISA required action (federal due date 24 Mar 2022): Apply updates per vendor instructions.
Signals
- KEV, exploited in the wild
- yes, added 3 Mar 2022, due 24 Mar 2022, known ransomware use
- EPSS, 30-day forecast
- 99%, 100th percentile (as of 4 Dec 2026)
- CVSS, NVD, CRITICAL
- 9.8
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Internet exposure
- not stated
KEV is an observation, EPSS a forecast; KEV outranks it.
Timeline 27 Aug 2012 to today
- First PoC
- Metasploitsame day
- Disclosed+1 d
- KEV+3474 d
3,474 days from disclosure to the KEV listing
Who exploits it 1 citation
- Equation Group
“CVE-2012-4681 (Java).”
cited as exploiting · named nearby · media.kasperskycontenthub.com ↗ · 17 Oct 2026
Each actor is cited by the quoted source, linked under the quote. A citation is that source's claim, not our confirmation.
Linked 1 in our graph
Exploited by
- actorEquation Group
Links our graph holds for this CVE, strongest first. The same data is in the graph API.
Indicators none tied yet
No threat feed has tied an indicator to this CVE yet. Checked every six hours.
On the wire 0 dispatches
No dispatch on our wire has named this CVE yet.
Public exploit code 5 known · links only
GitHub PoCs 3Metasploit 1Exploit-DB 1
GitHub PoCs, by trust then stars3
- benjholla/CVE-2012-4681-ArmoringNot checked
first seen by skopnix 18 Oct 2026
- Live-Hack-CVE/CVE-2012-4681Not checked
first seen by skopnix 18 Oct 2026
- ZH3FENG/PoCs-CVE_2012_4681Not checked
first seen by skopnix 18 Oct 2026
Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.
Metasploit1
The exploit takes advantage of two issues in JDK 7: The ClassFinder and MethodFinder.findMethod(). Both were newly introduced in JDK 7. ClassFinder is a replacement for classForName back in JDK 6. It allows untrusted code to obtain a reference and have access to a restricted package in JDK 7, which can be used to abuse sun.awt.SunToolkit (a restricted package). With sun.awt.SunToolkit, we can actually invoke getField() by abusing findMethod()
ruby · first seen by skopnix 18 Oct 2026
Exploit-DB1
created 27 Aug 2012
References
- nvd.nist.gov ↗
- cisa.gov · KEV catalogue ↗
- first.org · EPSS ↗
- blog.fireeye.com · zero-day-season-is-not-over-yet.html ↗
- immunityproducts.blogspot.com · java-0day-analysis-cve-2012-4681.html ↗
- labs.alienvault.com · new-java-0day-exploited-in-the-wild ↗
- lists.opensuse.org · msg00032.html ↗
- lists.opensuse.org · msg00016.html ↗
Watch this one?
KEV additions reach Telegram and the KEV-only RSS as they land.