Actively exploited · Published Aug 28, 2012 · Assigned by mitre
CVE-2012-4681
Critical 9.8 Exploited Ransomware
In plain English
A critical-severity improper access control in Java SE from Oracle. Attackers are actively exploiting it in the wild (listed by CISA on March 3, 2022). It has been used in ransomware campaigns. The chance it is exploited in the next 30 days is estimated at 98.5% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code. Apply updates per vendor instructions.
CISA guidance
Apply updates per vendor instructions.
Federal agencies must remediate by Mar 24, 2022.
Official 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 products (as reported)
Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- http://blog.fireeye.com/research/2012/08/zero-day-season-is-not-over-yet.html x_refsource_MISC
- SUSE-SU-2012:1398 vendor-advisory, x_refsource_SUSE
- SUSE-SU-2012:1231 vendor-advisory, x_refsource_SUSE
- TA12-240A third-party-advisory, x_refsource_CERT
- http://labs.alienvault.com/labs/index.php/2012/new-java-0day-exploited-in-the-wild/ x_refsource_MISC
- SSRT100970 vendor-advisory, x_refsource_HP
- https://community.rapid7.com/community/metasploit/blog/2012/08/27/lets-start-the-week-with-a-new-java-0day x_refsource_MISC
- http://www.deependresearch.org/2012/08/java-7-vulnerability-analysis.html x_refsource_MISC
- http://www.oracle.com/technetwork/topics/security/alert-cve-2012-4681-1835715.html x_refsource_CONFIRM
- RHSA-2012:1225 vendor-advisory, x_refsource_REDHAT
- http://immunityproducts.blogspot.com/2012/08/java-0day-analysis-cve-2012-4681.html x_refsource_MISC
- 51044 third-party-advisory, x_refsource_SECUNIA
- 55213 vdb-entry, x_refsource_BID
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-4681 government-resource