CVE-2012-4681

Multiple vulnerabilities in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 6 and earlier allow remote attackers to execute...

Basic Information

CVE State
PUBLISHED
Reserved Date
August 27, 2012
Published Date
August 28, 2012
Last Updated
February 10, 2025
Vendor
n/a
Product
n/a
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 Scores

CVSS v3.1

9.8 - CRITICAL

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

SSVC Information

Exploitation
active
Automatable
Yes
Technical Impact
total

Exploit Status

Exploited in the Wild
Yes (added 2022-03-03 00:00:00 UTC) Source
Proof of Concept Available
Yes (added 2014-09-26 02:33:24 UTC) Source

Known Exploited Vulnerability Information

Source Added Date
CISA 2022-03-03 00:00:00 UTC

Scanner Integrations

Potential Proof of Concepts

Warning: These PoCs have not been tested and could contain malware. Use at your own risk.

java_jre17_exec

Type: metasploit • Created: Unknown

Metasploit module for CVE-2012-4681

benjholla/CVE-2012-4681-Armoring

Type: github • Created: 2014-09-26 02:33:24 UTC • Stars: 1

An A/V evasion armoring experiment for CVE-2012-4681