Research > Zero-Day Tracker > 20120827
Vulnerabilities in Java 7 Allows for Remote Code Execution
A logic flaw exists within com.sun.beans.finder.ClassFinder and sun.awt.SunToolkit.getField(), which allows untrusted code to gain access to restricted packages and allows code to modify private fields, respectively. Access to restricted packages (ClassFinder) allows an attacker to overwrite the permissions (getField()) of java.beans.Statement, which then subsequently can be used to disable the Java Security Manager. This allows attacker code to be arbitrarily executed within the context of the currently logged on user. A Metasploit module for this vulnerability has been created, and targets Windows, Linux, and OS X through any major browser. Additionally, this vulnerability is exploited by the BlackHole exploit kit.
Yes. Attacks in the wild have been reported.
Remote Code Execution
Exploitation of this vulnerability is possible through the use of methods like drive-by attacks. Remote attackers who successfully exploit this vulnerability will be able to execute code on the vulnerable system with the same rights as the currently logged on user.
Disable Java until a patch is released.
BeyondTrust's Retina® Network Security Scanner scans devices to detect for this vulnerability.
17016 – Oracle Sun Java ClassFinder Vulnerability (CVE-2012-4681) – Windows – JDK
17017 – Oracle Sun Java ClassFinder Vulnerability (CVE-2012-4681) – Windows – JRE
17018 – Oracle Sun Java ClassFinder Vulnerability (CVE-2012-4681) – UNIX/Linux – JDK
17019 – Oracle Sun Java ClassFinder Vulnerability (CVE-2012-4681) – UNIX/Linux – JRE
8.26.2012 - Analysis Released
8.27.2012 - Working Exploit Released
8.30.2012 - Vendor Patch Released
Copyright ©1998-2011 eEye Digital Security
Permission is hereby granted for the redistribution of this alert electronically. It is not to be edited in any way without express consent of eEye. If you wish to reprint the whole or any part of this alert in any other medium excluding electronic medium, please email alert@eEye.com for permission.
The information within this paper may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are no warranties, implied or express, with regard to this information. In no event shall the author be liable for any direct or indirect damages whatsoever arising out of or in connection with the use or spread of this information. Any use of this information is at the user's own risk.