BreachSpiderVerified, not vibes

CVE-2012-4681 in Oracle Jre and 5 more products

Known-exploited (CISA) since 2022-03-03 Critical 9.8 Public exploit reported

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 t...

Affects 6 products from 2 vendors. Facts below cite their sources.

CVSS 3.19.8
EPSS98.5%
EPSS percentile100th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Oracle Jre 1.6.0 1.7.0
Oracle Jdk 1.6.0 1.7.0
Redhat Enterprise Linux Desktop 6.0
Redhat Enterprise Linux Server 6.0
Redhat Enterprise Linux Workstation 6.0
Redhat Enterprise Linux Eus 6.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedYes added 2022-03-03
Public exploitReported · reference

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2012-4681
BreachSpider IDBS-2012-GLOBAL-179336-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2012-08-28
Last modified2026-08-06
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-284: Improper Access Control

Software does not restrict or incorrectly restricts access to a resource.

Related attack patterns (CAPEC)

CAPEC-478 Modification of Windows Service Configuration via CWE-284

CAPEC-479 Malicious Root Certificate via CWE-284

CAPEC-546 Incomplete Data Deletion in a Multi-Tenant Environment via CWE-284

CAPEC-550 Install New Service via CWE-284

CAPEC-551 Modify Existing Service via CWE-284

Show all 17

CAPEC-552 Install Rootkit via CWE-284

CAPEC-556 Replace File Extension Handlers via CWE-284

CAPEC-558 Replace Trusted Executable via CWE-284

CAPEC-562 Modify Shared File via CWE-284

CAPEC-563 Add Malicious File to Shared Webroot via CWE-284

CAPEC-564 Run Software at Logon via CWE-284

CAPEC-19 Embedding Scripts within Scripts via CWE-284

CAPEC-502 Intent Spoof via CWE-284

CAPEC-503 WebView Exposure via CWE-284

CAPEC-536 Data Injected During Configuration via CWE-284

CAPEC-578 Disable Security Software via CWE-284

CAPEC-441 Malicious Logic Insertion via CWE-284

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2012-4681 involves multiple vulnerabilities in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 6 and earlier, allowing remote attackers to execute arbitrary code via a crafted applet. This vulnerability has been actively exploited in the wild and has a high CVSS score, indicating critical risk.

The attack vector involves a remote attacker using a crafted applet to bypass SecurityManager restrictions. The attacker leverages the com.sun.beans.finder.ClassFinder.findClass method and an exception with the forName method to access restricted classes from arbitrary packages such as sun.awt.SunToolkit. Additionally, the attacker uses reflection with a trusted immediate caller to access and modify private fields, as demonstrated by the exploitation using Gondzz.class and Gondvv.class in August 2012.

Compensating controls AI-drafted, review before use

Implement strict network segmentation and application whitelisting to prevent unauthorized applets from being executed. Ensure that only approved and necessary Java applets are allowed to run in the environment.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2012-4681?

CVE-2012-4681 involves multiple vulnerabilities in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 6 and earlier, allowing remote attackers to execute arbitrary code via a crafted applet. This vulnerability has been actively exploited in the wild and has a high CVSS score, indicating critical risk.

What is the CVSS score for CVE-2012-4681?

CVE-2012-4681 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 98.5%.

Is CVE-2012-4681 actively exploited?

Yes. CVE-2012-4681 is in the CISA known-exploited catalog (added 2022-03-03). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2012-4681?

Priority: IMMEDIATE. Advisory: http://www.oracle.com/technetwork/topics/security/alert-cve-2012-4681-1835715.html PSIRT: [email protected]

What systems are affected by CVE-2012-4681?

CVE-2012-4681 affects Oracle Jre, Jdk; Redhat Enterprise Linux Desktop, Enterprise Linux Server, Enterprise Linux Workstation, Enterprise Linux Eus.

What NERC-CIP standard applies to CVE-2012-4681?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to control system devices, which can compromise the integrity and availability of critical infrastructure.

What IEC 62443 requirement maps to CVE-2012-4681?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves the protection against unauthorized access to software components, which is essential for maintaining the security of industrial control systems.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Oracle","product":"Jre","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-08-06.