Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
CISA KEV·Added 2022-03-03 — agencies required to remediate by 2022-03-24 · Ransomware

CVE-2012-4681

CRITICAL

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…

Published
Aug 28, 2012
Updated
Apr 21, 2026
Affected
0 pkgs
Patched
None yet
Exploits
7 known

EPSS Exploitation Probability

via FIRST.org ↗
94.1%probability of exploitation in next 30 days
Very High Risk100th percentile0.00%
93.5%93.8%94.2%94.6%94.1%94.1%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

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.

Affected Products

6 products · 85 configurations
Application
jdkoracle
2 versions
1.6.01.7.0
Application
jreoracle
2 versions
1.6.01.7.0
OS
enterprise linux desktopredhat
1 version
6.0
OS
enterprise linux eusredhat
1 version
6.3
OS
enterprise linux serverredhat
1 version
6.0
OS
enterprise linux workstationredhat
1 version
6.0
Exploits & PoCs
7

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-20865remotejava✓ Verified

Java 7 Applet - Remote Code Execution (Metasploit)

by Metasploit · Aug 27, 2012

Frequently Asked Questions

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.cl
O3 Security · Impact-Aware SCA

Is CVE-2012-4681 in your stack?

O3 detects CVE-2012-4681 across dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.