Skip to content
Fencer Intel
critical 9.8

CVE-2012-4681 kev+ ransomware in the critical feed json

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

published 2012-08-28 14 y ago modified 2026-08-06 3 mo ago also EUVD-2012-4606

cvss
9.8
version 3.1, CNA
cisa kev
Exploited
added 2022-03-03, used in ransomware
epss
98.5%
EPSS 98.5% chance of exploitation in 30 days, percentile 99.9%
public exploits
2
Metasploit, Exploit-DB

Summary

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.

Patch / fix

cisa required action Apply updates per vendor instructions.

  • java-1.7.0-ibm RHEL 6 EXTRAS 1:1.7.0.2.0-1jpp.3.el6_3
  • java-1.7.0-ibm-src RHEL 6 EXTRAS 1:1.7.0.2.0-1jpp.3.el6_3
  • java-1.7.0-ibm-demo RHEL 6 EXTRAS 1:1.7.0.2.0-1jpp.3.el6_3
  • java-1.7.0-ibm-jdbc RHEL 6 EXTRAS 1:1.7.0.2.0-1jpp.3.el6_3
  • java-1.7.0-ibm-plugin RHEL 6 EXTRAS 1:1.7.0.2.0-1jpp.3.el6_3
  • java-1.7.0-oracle RHEL 6 EXTRAS 1:1.7.0.7-1jpp.5.el6_3
  • java-1.7.0-oracle-src RHEL 6 EXTRAS 1:1.7.0.7-1jpp.5.el6_3
  • java-1.7.0-oracle-jdbc RHEL 6 EXTRAS 1:1.7.0.7-1jpp.5.el6_3

red hat advisories RHSA-2012:1289RHSA-2012:1225RHSA-2012:1223

  • java-1_7_0-openjdk openSUSE Tumbleweed 1.7.0.121-1.1

opensuse advisories openSUSE-SU-2024:10534-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-4681 updated cvss 6.8

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

  • Red Hat Enterprise Linux 5 java-1.7.0-oracle, java-1.7.0-openjdk, java-1.7.0-oracle-src, java-1.7.0-oracle-demo, java-1.7.0-oracle-jdbc, java-1.7.0-oracle-javafx, +1 more
    affected: no fix available
  • Red Hat Enterprise Linux Desktop (v. 6) java-1.7.0-openjdk 1.7.0.5-2.2.1.el6_3.3 Red Hat Enterprise Linux Desktop Optional (v. 6) java-1.7.0-openjdk 1.7.0.5-2.2.1.el6_3.3, java-1.7.0-openjdk-src 1.7.0.5-2.2.1.el6_3.3, java-1.7.0-openjdk-demo 1.7.0.5-2.2.1.el6_3.3, java-1.7.0-openjdk-javadoc 1.7.0.5-2.2.1.el6_3.3
    fixed: vendor fix RHSA-2012:1223
  • Red Hat Enterprise Linux Desktop Supplementary (v. 6) java-1.7.0-ibm 1.7.0.2.0-1jpp.3.el6_3, java-1.7.0-oracle 1.7.0.7-1jpp.5.el6_3, java-1.7.0-ibm-src 1.7.0.2.0-1jpp.3.el6_3, java-1.7.0-ibm-demo 1.7.0.2.0-1jpp.3.el6_3, java-1.7.0-ibm-jdbc 1.7.0.2.0-1jpp.3.el6_3, java-1.7.0-oracle-src 1.7.0.7-1jpp.5.el6_3, +3 more
    fixed: vendor fix RHSA-2012:1289
  • Red Hat Enterprise Linux HPC Node Optional (v. 6) java-1.7.0-openjdk 1.7.0.5-2.2.1.el6_3.3, java-1.7.0-openjdk-src 1.7.0.5-2.2.1.el6_3.3, java-1.7.0-openjdk-demo 1.7.0.5-2.2.1.el6_3.3, java-1.7.0-openjdk-javadoc 1.7.0.5-2.2.1.el6_3.3
    fixed: vendor fix RHSA-2012:1223
  • Red Hat Enterprise Linux HPC Node Supplementary (v. 6) java-1.7.0-ibm 1.7.0.2.0-1jpp.3.el6_3, java-1.7.0-oracle 1.7.0.7-1jpp.5.el6_3, java-1.7.0-ibm-src 1.7.0.2.0-1jpp.3.el6_3, java-1.7.0-ibm-demo 1.7.0.2.0-1jpp.3.el6_3, java-1.7.0-oracle-src 1.7.0.7-1jpp.5.el6_3
    fixed: vendor fix RHSA-2012:1289
  • Red Hat Enterprise Linux Server (v. 6) java-1.7.0-openjdk 1.7.0.5-2.2.1.el6_3.3 Red Hat Enterprise Linux Server Optional (v. 6) java-1.7.0-openjdk 1.7.0.5-2.2.1.el6_3.3, java-1.7.0-openjdk-src 1.7.0.5-2.2.1.el6_3.3, java-1.7.0-openjdk-demo 1.7.0.5-2.2.1.el6_3.3, java-1.7.0-openjdk-javadoc 1.7.0.5-2.2.1.el6_3.3
    fixed: vendor fix RHSA-2012:1223
  • Red Hat Enterprise Linux Server Supplementary (v. 6) java-1.7.0-ibm 1.7.0.2.0-1jpp.3.el6_3, java-1.7.0-oracle 1.7.0.7-1jpp.5.el6_3, java-1.7.0-ibm-src 1.7.0.2.0-1jpp.3.el6_3, java-1.7.0-ibm-demo 1.7.0.2.0-1jpp.3.el6_3, java-1.7.0-ibm-jdbc 1.7.0.2.0-1jpp.3.el6_3, java-1.7.0-oracle-src 1.7.0.7-1jpp.5.el6_3, +3 more
    fixed: vendor fix RHSA-2012:1289
  • Red Hat Enterprise Linux Workstation (v. 6) java-1.7.0-openjdk 1.7.0.5-2.2.1.el6_3.3 Red Hat Enterprise Linux Workstation Optional (v. 6) java-1.7.0-openjdk 1.7.0.5-2.2.1.el6_3.3, java-1.7.0-openjdk-src 1.7.0.5-2.2.1.el6_3.3, java-1.7.0-openjdk-demo 1.7.0.5-2.2.1.el6_3.3, java-1.7.0-openjdk-javadoc 1.7.0.5-2.2.1.el6_3.3
    fixed: vendor fix RHSA-2012:1223
show 2 more
  • Red Hat Enterprise Linux Workstation Supplementary (v. 6) java-1.7.0-ibm 1.7.0.2.0-1jpp.3.el6_3, java-1.7.0-oracle 1.7.0.7-1jpp.5.el6_3, java-1.7.0-ibm-src 1.7.0.2.0-1jpp.3.el6_3, java-1.7.0-ibm-demo 1.7.0.2.0-1jpp.3.el6_3, java-1.7.0-ibm-jdbc 1.7.0.2.0-1jpp.3.el6_3, java-1.7.0-oracle-src 1.7.0.7-1jpp.5.el6_3, +3 more
    fixed: vendor fix RHSA-2012:1289
  • Red Hat Enterprise Linux 5 java-1.6.0-ibm, java-1.6.0-sun, java-1.6.0-openjdk, java-1.6.0-sun-src, java-1.6.0-sun-demo, java-1.6.0-sun-jdbc, +2 more Red Hat Enterprise Linux 6 java-1.6.0-ibm, java-1.6.0-sun, java-1.6.0-ibm-src, java-1.6.0-openjdk, java-1.6.0-sun-src, java-1.6.0-ibm-demo, +9 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (Metasploit exploit/multi/browser/java_jre17_exec)
  2. Published
  3. CISA SSVC: exploitation active
  4. Added to CISA KEV
  5. CISA patch deadline

Known exploited

Added
4 y ago
Patch by
2022-03-24 (4 y ago)
Ransomware
Known to be used in ransomware campaigns
Required action
Apply updates per vendor instructions.
Vendor, product
Oracle, Java SE
CISA name
Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability

CISA SSVC

Exploitation
Active, exploited in the wild
Automatable
yes
Technical impact
total
Assessed
4 y ago

Exploit prediction

98.54% chance of exploitation in the next 30 days, higher than 99.9% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.