Oracle Java SE
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.
Timeline
Days relative to CVE publicationFirst public PoC 1 day before publication; added to CISA KEV 9.5 years after publication. First PoC: Java 7 Applet - Remote Code Execution (Metasploit) (Exploit-DB, 27 Aug 2012).
PoC repositories
Found on GitHub.2 PoCs · 1 pending
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| benjholla/CVE-2012-4681-Armoring | 26 Sep 2014 +2.1 y | 1 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| ZH3FENG/PoCs-CVE_2012_4681 | 5 Jan 2018 +5.4 y | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Live-Hack-CVE/CVE-2012-4681 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Java 7 Applet - Remote Code Execution (Metasploit) | 27 Aug 2012 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Java 7 Applet Remote Code Execution (exploit/multi/browser/java_jre17_exec) | 28 Aug 2012 | 14 Nov 2026 |