CVEs / CVE-2012-4681
CVE-2012-4681: Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability
- Known exploited in the CISA KEV catalog since 3 Mar 2022
- critical 9.8 CVSS 3.1 (NVD)
- EPSS 98.5% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2012-4681
Summary
The Java Runtime Environment (JRE) component in Oracle Java SE allow for remote code execution.
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 and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| n/a n/a | n/a | — |
Exploitation
| In CISA KEV since | 3 Mar 2022 |
|---|---|
| Due date for US federal agencies | 24 Mar 2022 |
| Used in ransomware campaigns | Known |
| Required action | Apply updates per vendor instructions. |
Severity
| CVSS 3.1 | 9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-284 |
References
- CVE-2012-4681 on NVD
- CVE-2012-4681 in the CISA KEV catalog
- http://blog.fireeye.com/research/2012/08/zero-day-season-is-not-over-yet.html Third Party Advisory
- http://immunityproducts.blogspot.com/2012/08/java-0day-analysis-cve-2012-4681.html Exploit, Third Party Advisory
- http://labs.alienvault.com/labs/index.php/2012/new-java-0day-exploited-in-the-wild/ Broken Link, Exploit
- http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00032.html Mailing List
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00016.html Mailing List
- http://marc.info/?l=bugtraq&m=135109152819176&w=2 Issue Tracking, Mailing List, Third Party Advisory
- http://rhn.redhat.com/errata/RHSA-2012-1225.html Third Party Advisory
- http://secunia.com/advisories/51044 Not Applicable
- http://www.deependresearch.org/2012/08/java-7-vulnerability-analysis.html Broken Link, Third Party Advisory
- http://www.oracle.com/technetwork/topics/security/alert-cve-2012-4681-1835715.html Vendor Advisory
- http://www.securityfocus.com/bid/55213 Broken Link, Third Party Advisory, VDB Entry
- http://www.us-cert.gov/cas/techalerts/TA12-240A.html Third Party Advisory, US Government Resource
- https://community.rapid7.com/community/metasploit/blog/2012/08/27/lets-start-the-week-with-a-new-java-0day Broken Link, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-4681 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.