Red Hat Customer Portal

Skip to main content

CVE-2012-4681

Impact:
Critical
Public Date:
2012-08-27
Bugzilla:
852051: CVE-2012-4681 OpenJDK: beans insufficient permission checks, Java 7 0day (beans, 7162473)

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2012-4681 from the MITRE CVE dictionary dictionary and NIST NVD.

Statement

This flaw allowed an attacker to circumvent all restrictions applied by the Java security manager. The Java security manager is used to sandbox Java applets in web browsers, but is also used in a variety of other applications.

Red Hat has tested the flaw and confirmed that it affected Java SE 7 provided by OpenJDK 7 (java-1.7.0-openjdk), Oracle Java SE 7 (java-1.7.0-oracle) and IBM Java SE 7 (java-1.7.0-ibm) as shipped with Red Hat Enterprise Linux 6. Updates correcting this issue were released for all affected packages.

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

Base Score 6.8
Base Metrics AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux Supplementary (v. 6) (java-1.7.0-ibm) RHSA-2012:1289 2012-09-18
Red Hat Enterprise Linux 6 (java-1.7.0-openjdk) RHSA-2012:1223 2012-09-03
Red Hat Enterprise Linux Supplementary (v. 6) (java-1.7.0-oracle) RHSA-2012:1225 2012-09-04

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 5 java-1.6.0-ibm Not affected
Red Hat Enterprise Linux 5 java-1.7.0-openjdk Affected
Red Hat Enterprise Linux 5 java-1.6.0-sun Not affected
Red Hat Enterprise Linux 5 java-1.6.0-openjdk Not affected
Red Hat Enterprise Linux 6 java-1.6.0-openjdk Not affected
Red Hat Enterprise Linux 6 java-1.6.0-ibm Not affected
Red Hat Enterprise Linux 6 java-1.6.0-sun Not affected
Red Hat Enterprise Linux 5 java-1.7.0-oracle Affected

External References