CVE-2012-4681
Last modified
CVE-2012-4681 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. CISA has confirmed active exploitation in the wild. EPSS estimates a 98.54% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitation Status
This vulnerability is listed in CISA’s Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. Federal agencies must remediate by .
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Oracle | Jdk | 1.6.0 |
| Oracle | Jdk | 1.7.0 |
| Oracle | Jre | 1.6.0 |
| Oracle | Jre | 1.7.0 |
| Redhat | Enterprise Linux Desktop | 6.0 |
| Redhat | Enterprise Linux Eus | 6.3 |
| Redhat | Enterprise Linux Server | 6.0 |
| Redhat | Enterprise Linux Workstation | 6.0 |
References
- http://blog.fireeye.com/research/2012/08/zero-day-season-is-not-over-yet.htmlThird Party Advisory
- http://immunityproducts.blogspot.com/2012/08/java-0day-analysis-cve-2012-4681.htmlExploit, Third Party Advisory
- http://marc.info/?l=bugtraq&m=135109152819176&w=2Issue Tracking, Mailing List, Third Party Advisory
- http://rhn.redhat.com/errata/RHSA-2012-1225.htmlThird Party Advisory
- http://secunia.com/advisories/51044Not Applicable
- http://www.deependresearch.org/2012/08/java-7-vulnerability-analysis.htmlBroken Link, Third Party Advisory
- http://www.securityfocus.com/bid/55213Broken Link, Third Party Advisory, VDB Entry
- http://www.us-cert.gov/cas/techalerts/TA12-240A.htmlThird Party Advisory, US Government Resource
- https://community.rapid7.com/community/metasploit/blog/2012/08/27/lets-start-the-week-with-a-new-java-0dayBroken Link, Third Party Advisory
- http://blog.fireeye.com/research/2012/08/zero-day-season-is-not-over-yet.htmlThird Party Advisory
- http://immunityproducts.blogspot.com/2012/08/java-0day-analysis-cve-2012-4681.htmlExploit, Third Party Advisory
- http://marc.info/?l=bugtraq&m=135109152819176&w=2Issue Tracking, Mailing List, Third Party Advisory
- http://rhn.redhat.com/errata/RHSA-2012-1225.htmlThird Party Advisory
- http://secunia.com/advisories/51044Not Applicable
- http://www.deependresearch.org/2012/08/java-7-vulnerability-analysis.htmlBroken Link, Third Party Advisory
- http://www.securityfocus.com/bid/55213Broken Link, Third Party Advisory, VDB Entry
- http://www.us-cert.gov/cas/techalerts/TA12-240A.htmlThird Party Advisory, US Government Resource
- https://community.rapid7.com/community/metasploit/blog/2012/08/27/lets-start-the-week-with-a-new-java-0dayBroken Link, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-4681US Government Resource
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2012-4681?
How severe is CVE-2012-4681?
How do I fix CVE-2012-4681?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2012
- CVE-2012-4675Cross-site scripting (XSS) vulnerability in PluXml 5.1.6 all…
- CVE-2012-4676The errorExitIfAttackViaString function in Tunnelblick 3.3be…
- CVE-2012-4677Tunnelblick 3.3beta20 and earlier allows local users to gain…
- CVE-2012-4678munin-cgi-graph for Munin 2.0 rc4 does not delete temporary …
- CVE-2012-4679Cross-site scripting (XSS) vulnerability in admin/login.php …
- CVE-2012-4680Directory traversal vulnerability in the XML Server in IOSer…
- CVE-2012-4682Unspecified vulnerability in bitcoind and Bitcoin-Qt allows …
- CVE-2012-4683Unspecified vulnerability in bitcoind and Bitcoin-Qt allows …
- CVE-2012-4684The alert functionality in bitcoind and Bitcoin-Qt before 0.…
- CVE-2012-4685Cross-site scripting (XSS) vulnerability in Arbor Networks P…
- CVE-2012-4686SQL injection vulnerability in announcement.php in vBulletin…
- CVE-2012-4687Post Oak AWAM Bluetooth Reader Traffic System does not use a…
Are you affected by CVE-2012-4681?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
