PT-2012-1213

CVE-2012-4681

·

Published

2012-08-27

·

Updated

2026-08-06

Description by

CVSS 3.1
10
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Oracle Java SE versions 7 Update 6 and earlier
Description The issue allows remote attackers to execute arbitrary code via a crafted applet that bypasses SecurityManager restrictions. This is achieved by 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, it uses "reflection with a trusted immediate caller" to leverage the getField method to access and modify private fields. The vulnerability was exploited in the wild in August 2012 using Gondzz.class and Gondvv.class.
Recommendations For Oracle Java SE versions 7 Update 6 and earlier, update to a version later than 7 Update 6 to resolve the issue. As a temporary workaround, consider disabling the use of crafted applets until a patch is available. Restrict access to the com.sun.beans.finder.ClassFinder.findClass and forName method to minimize the risk of exploitation. Avoid using the getField method in the affected API endpoint until the issue is resolved. At the moment, there is no information about additional mitigation measures.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
CESA-2012_1223
ELSA-2012-1223
HPSBUX02824
OPENSUSE-SU-2012_1154-1
OPENSUSE-SU-2024:10534-1
RHSA-2012:1221
RHSA-2012:1222
RHSA-2012:1223
RHSA-2012_1223
RHSA-2012:1225
RHSA-2012_1225
RHSA-2012:1289
RHSA-2012_1289
RHSA-2012:1392
RHSA-2012:1466
RHSA-2013:1455
RHSA-2013:1456
Found an issue in the description? Have something to add? Feel free to write us 👾