Vulnerabilities / CVE-2012-4681

critical

CVE-2012-4681

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

Published Modified CWE 284
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat6.8AV:N/AC:M/Au:N/C:P/I:P/A:P

Trivy's own label is CRITICAL. Rated critical by NVD, Red Hat. Rated lower by Oracle (high).

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.

Affected packages and fixed versions

SourcePackageFixed in
Oracle Linux 6java-1.7.0-openjdk, java-1.7.0-openjdk-demo, java-1.7.0-openjdk-devel and 2 more1:1.7.0.5-2.2.1.0.1.el6_3.3
Show all 5 entries from 1 source
SourcePackageFixed in
Oracle Linux 6java-1.7.0-openjdk1:1.7.0.5-2.2.1.0.1.el6_3.3
Oracle Linux 6java-1.7.0-openjdk-demo1:1.7.0.5-2.2.1.0.1.el6_3.3
Oracle Linux 6java-1.7.0-openjdk-devel1:1.7.0.5-2.2.1.0.1.el6_3.3
Oracle Linux 6java-1.7.0-openjdk-javadoc1:1.7.0.5-2.2.1.0.1.el6_3.3
Oracle Linux 6java-1.7.0-openjdk-src1:1.7.0.5-2.2.1.0.1.el6_3.3

References

All 20 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.