PoC Monitor
← All CVEs
CVE-2012-4681published 28 Aug 2012 00:00 UTCData: JSON · API

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.

First public PoC 1 day beforebefore publication · 27 Aug 2012 · Exploit-DB
Public PoCs42 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-284
CISA KEV 3 Mar 20229.5 years after publication · ransomware use known

Timeline

Days relative to CVE publication
t=0+2 y+4 y+6 y+8 yFirst public PoC27 Aug 2012 · t−1dCVE published28 Aug 2012 · t = 0Added to CISA KEV3 Mar 2022 · t+9.5y

First 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
RepositoryCreatedStarsAssessment
benjholla/CVE-2012-4681-Armoring 26 Sep 2014 +2.1 y 1 PoC
Flags · score 15
  • no network code found (normal for a local exploit)

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
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Pending 1
RepositoryCreatedStarsAssessment
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.
SourceTitlePublishedFound by us
Exploit-DBJava 7 Applet - Remote Code Execution (Metasploit)27 Aug 201214 Nov 2026
MetasploitMetasploit exploit: Java 7 Applet Remote Code Execution (exploit/multi/browser/java_jre17_exec)28 Aug 201214 Nov 2026