eEye Digital Security eEye Digital Security
  • Login to the eEye Business Client Portal
  • Shop for eEye Products
  • Read the eEye Blog
  • Subscribe to eEye RSS Feeds
  • Follow eEye on Twitter
  • Follow eEye of Facebook
Resources

Research > Zero-Day Tracker > 20120827

Vulnerabilities in Java 7 Allows for Remote Code Execution

Date Disclosed:
8/26/2012

Date Patched:
8/30/2012

Vendor:
Oracle

Affected Software:

  • Java 7 to 7u6

Description:
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.

Severity:
High

Code Execution:
Yes. Attacks in the wild have been reported.

Impact:
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.

Mitigation:
Disable Java until a patch is released.

Protection:
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

Links:

Status:
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.

Disclaimer
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.

Next Steps

Free Trial
Test drive an eEye product
On-demand Demo
See an online product tour
One-on-one Demo
Schedule a personalized tour
Compare Products
See side-by-side features
Buy Now
Go to eEye product store
Contact | Site Map | Privacy | Website Feedback | 1.866.339.3732
© 1998 – 2012 eEye Digital Security. All rights reserved.