10

CVE-2012-4681: Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability

KEVRansomware
Analyzed
Published 28-08-2012Last modified 06-08-2026

Vulnerability summary

CVE-2012-4681 is a high (CVSS 10.0) Improper Access Control vulnerability in Oracle Java SE. It is known to be exploited: CISA lists it, first on 03-03-2022. It has been used in ransomware campaigns. EPSS estimates a 98.54% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 4 public exploits are recorded.

Priority
Act nowransomware

Known ransomware use (CISA, 03-03-2022)

Source freshness unavailable

How is this decided?
CVSS score
10.0/10
010
High · v2.0 (NVD)
EPSS score
98.54%
0%100%
Critical · 0.00 pp in 30 days
KEVExploited in the wildCritical · listed in 1 catalog
RansomwareKnown useFlagged by CISA
Public exploits4reference, exploit-database, metasploit

Advisory lineage

Upstream 0 · Downstream 4 · Duplicates 1 · Related 1

Timeline

  1. 28-08-2012
    PublishedVulnerability first disclosed.
  2. 03-03-2022
    Added to CISA KEVExploitedOracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability
  3. 24-03-2022
    CISA remediation dueDeadline passedApply updates per vendor instructions.
  4. 06-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

98.54%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

No change 0.00 pp

From 98.54% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEVListed
Added
03-03-2022
Federal due date
24-03-2022
Ransomware
ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

CISA required action

Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2012-4681

Public exploits

4 found
  • referenceUnverified

    Exploit Reference (labs.alienvault.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (immunityproducts.blogspot.com)

    Maturity: unknown

  • exploit-databaseremotejavaVerified

    Java 7 Applet - Remote Code Execution (Metasploit)

    Maturity: weaponized

Show all 4 exploits
  • MetasploitMetasploitremoteVerified

    Java 7 Applet Remote Code Execution

    exploit/multi/browser/java_jre17_exec

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat4 products
Oracle2 products
  • jdk1.6.0 | 1.6.0:update1 | 1.6.0:update10 | 1.6.0:update11 | 1.6.0:update12 | 1.6.0:update13 | 1.6.0:update14 | 1.6.0:update15 | 1.6.0:update16 | 1.6.0:update17 | 1.6.0:update18 | 1.6.0:update19 | 1.6.0:update2 | 1.6.0:update20 | 1.6.0:update21 | 1.6.0:update22 | 1.6.0:update23 | 1.6.0:update24 | 1.6.0:update25 | 1.6.0:update26 | 1.6.0:update27 | 1.6.0:update29 | 1.6.0:update3 | 1.6.0:update30 | 1.6.0:update31 | 1.6.0:update32 | 1.6.0:update33 | 1.6.0:update34 | 1.6.0:update4 | 1.6.0:update5 | 1.6.0:update6 | 1.6.0:update7 | 1.6.0:update8 | 1.6.0:update9 | 1.7.0 | 1.7.0:update1 | 1.7.0:update2 | 1.7.0:update3 | 1.7.0:update4 | 1.7.0:update5 | 1.7.0:update6
  • jre1.6.0 | 1.6.0:update1 | 1.6.0:update10 | 1.6.0:update11 | 1.6.0:update12 | 1.6.0:update13 | 1.6.0:update14 | 1.6.0:update15 | 1.6.0:update16 | 1.6.0:update17 | 1.6.0:update18 | 1.6.0:update19 | 1.6.0:update2 | 1.6.0:update20 | 1.6.0:update21 | 1.6.0:update22 | 1.6.0:update23 | 1.6.0:update24 | 1.6.0:update25 | 1.6.0:update26 | 1.6.0:update27 | 1.6.0:update29 | 1.6.0:update3 | 1.6.0:update30 | 1.6.0:update31 | 1.6.0:update32 | 1.6.0:update33 | 1.6.0:update34 | 1.6.0:update4 | 1.6.0:update5 | 1.6.0:update6 | 1.6.0:update7 | 1.6.0:update9 | 1.7.0 | 1.7.0:update1 | 1.7.0:update2 | 1.7.0:update3 | 1.7.0:update4 | 1.7.0:update5 | 1.7.0:update6

2 vendors · 6 products

References

14 links
Show all 14 references