CVE-2012-4681

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.

Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
98.536%
chance of exploitation in the next 30 days
higher than 99.9% of scored CVEs · 2026-11-16
CISA KEV
Listed
added 2022-03-03 · known ransomware use
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 1
Nuclei templates: 0
Exploit-DB: 1

Weakness

CISA Known Exploited Vulnerabilities entry

Vulnerability nameOracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability
Vendor / productOracle / Java SE
Date added2022-03-03
Federal remediation due date2022-03-24
Required actionApply updates per vendor instructions.
Known ransomware campaign useKnown

CISA SSVC decision points

Exploitationactive
Automatableyes
Technical impacttotal
Scored2022-03-02

Timeline

  1. 2012-08-27First Exploit-DB entry (EDB-ID 20865)1 day before publication
  2. 2012-08-28Published by the CNA00:00 UTC
  3. 2022-03-02CISA SSVC decision recorded3473 days after publication
  4. 2022-03-03Added to the CISA KEV catalog3474 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 20865remotejava2012-08-27yes

Affected products

VendorProduct
oraclejdk
oraclejre
redhatenterprise_linux_desktop
redhatenterprise_linux_eus
redhatenterprise_linux_server
redhatenterprise_linux_workstation

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources