Skip to content
Vulnerability Intelligence

CVE-2012-4681

CriticalExploitedPublic exploit

OpenJDK: beans insufficient permission checks, Java 7 0day (beans, 7162473)

Published Aug 27, 2012 · Updated Aug 6, 2026

Key Facts

Patch immediately
  • CVE-2012-4681 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Jdk (Oracle), Jre (Oracle), Enterprise Linux Desktop (Redhat) and 22 more products.
  • It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Aug 28, 2012 and is known to be used in ransomware campaigns. Public exploit code is available.
  • EPSS estimates a 99% probability of exploitation in the next 30 days.
  • Fixed versions are available, including java 1.7.0-oracle-1:1.7.0.7-1jpp.5.el6_3, java-1_7_0-ibm 1.7.0_sr6.0-0.7.1, java-1_7_0-ibm-alsa 1.7.0_sr6.0-0.7.1.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

CVSS v3.1

9.8

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

EPSS (30-day exploit likelihood)

99%

Higher than 99.9% of all scored CVEs

Exploited in the wild

Yes

4 catalog listings, used by ransomware

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2012-4681 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CISA KEVMar 3, 2022Mar 24, 2022Known
Industry KEV feedAug 28, 2012Mar 24, 2022Known
CIRCL KEVMar 3, 2022Mar 24, 2022Known
ENISA EUVDMar 3, 2022n/aNot reported

Required action: Apply updates per vendor instructions.

Affected Products

116 affected entries in total
ProductAffected versionsFixed in
JdkOracle1.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-update15n/a
JreOracle1.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-update15n/a
Enterprise Linux DesktopRedhat6.0n/a
Enterprise Linux EusRedhat6.3n/a
Enterprise Linux ServerRedhat6.0n/a
20 more affected products in the full CVE brief

Patched Releases

java

1.7.0-oracle-1:1.7.0.7-1jpp.5.el6_3

java-1_7_0-ibm

1.7.0_sr6.0-0.7.1

java-1_7_0-ibm-alsa

1.7.0_sr6.0-0.7.1

java-1_7_0-ibm-devel

1.7.0_sr7.0-0.5.1

java-1_7_0-ibm-jdbc

1.7.0_sr6.0-0.7.1

java-1_7_0-ibm-plugin

1.7.0_sr6.0-0.7.1

java-1_7_0-openjdk

1.7.0.121-1.1

java-1_7_0-openjdk-accessibility

1.7.0.121-1.1

java-1_7_0-openjdk-bootstrap

1.7.0.121-1.1

java-1_7_0-openjdk-bootstrap-devel

1.7.0.121-1.1

java-1_7_0-openjdk-bootstrap-headless

1.7.0.121-1.1

java-1_7_0-openjdk-demo

1.7.0.121-1.1

java-1_7_0-openjdk-devel

1.7.0.121-1.1

java-1_7_0-openjdk-headless

1.7.0.121-1.1

java-1_7_0-openjdk-javadoc

1.7.0.121-1.1

java-1_7_0-openjdk-src

1.7.0.121-1.1

java-1.7.0-openjdk

1:1.7.0.5-2.2.1.0.1.el6_3.3

java-1.7.0-openjdk-demo

1:1.7.0.5-2.2.1.0.1.el6_3.3

java-1.7.0-openjdk-devel

1:1.7.0.5-2.2.1.0.1.el6_3.3

java-1.7.0-openjdk-javadoc

1:1.7.0.5-2.2.1.0.1.el6_3.3

java-1.7.0-openjdk-src

1:1.7.0.5-2.2.1.0.1.el6_3.3

Timeline

  1. Publicly disclosed

    Aug 27, 2012

  2. Added to Industry KEV feed

    Aug 28, 2012

  3. Added to CISA KEV

    Mar 3, 2022

  4. Added to CIRCL KEV

    Mar 3, 2022

  5. Added to ENISA EUVD

    Mar 3, 2022

  6. Last updated

    Aug 6, 2026

Weakness Type

  • CWE-284 Improper Access Control

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2012-4681 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo