CVE-2012-4681
CONFIRMED EXPLOITEDKNOWN RANSOMWARE CAMPAIGN USEOracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability
Is Oracle Java SE affected by CVE-2012-4681?
Oracle Java SE is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2012-4681, added on 2022-03-03. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (40 vulnerable CPE entries): oracle jdk.
Published CPE data pins the vulnerable releases as 1.6.0 and 1.7.0. Check the vendor advisory below for the fixed release and for any other affected build.
The CISA remediation deadline for this entry is 2022-03-24, and CISA records known ransomware campaign use against it.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2013-2465Same productOracle Java SE
Oracle Java SE Unspecified Vulnerability
- CVE-2012-5076Same productOracle Java SE
Oracle Java SE Sandbox Bypass Vulnerability
- CVE-2015-4902Same productOracle Java SE
Oracle Java SE Integrity Check Vulnerability
- CVE-2015-2590Same productOracle Java SE
Oracle Java SE and Java SE Embedded Remote Code Execution Vulnerability
- CVE-2012-1856Neighboring entryMicrosoft Office
Microsoft Office MSCOMCTL.OCX Remote Code Execution Vulnerability
- CVE-2013-0632Neighboring entryAdobe ColdFusion
Adobe ColdFusion Authentication Bypass Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
The Java Runtime Environment (JRE) component in Oracle Java SE allow for remote code execution.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2022-03-03. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Known".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Java SE has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Network service surface (Oracle Java SE): inspect perimeter and internal flow telemetry (`Zeek conn.log`, `Suricata eve.json`) and host service logs for anomalous connection bursts, protocol errors, or unexpected child processes.
- Inventory all hosts running Oracle Java SE and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- 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.htmlExploitThird Party Advisory
- http://labs.alienvault.com/labs/index.php/2012/new-java-0day-exploited-in-the-wild/Broken LinkExploit
- http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00032.htmlMailing List
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00016.htmlMailing List
- http://marc.info/?l=bugtraq&m=135109152819176&w=2Issue TrackingMailing ListThird 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 LinkThird Party Advisory
- http://www.oracle.com/technetwork/topics/security/alert-cve-2012-4681-1835715.htmlVendor Advisory
- http://www.securityfocus.com/bid/55213Broken LinkThird Party AdvisoryVDB Entry
- http://www.us-cert.gov/cas/techalerts/TA12-240A.htmlThird Party AdvisoryUS Government Resource
- https://community.rapid7.com/community/metasploit/blog/2012/08/27/lets-start-the-week-with-a-new-java-0dayBroken LinkThird 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.htmlExploitThird Party Advisory
- http://labs.alienvault.com/labs/index.php/2012/new-java-0day-exploited-in-the-wild/Broken LinkExploit
- http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00032.htmlMailing List
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00016.htmlMailing List
- http://marc.info/?l=bugtraq&m=135109152819176&w=2Issue TrackingMailing ListThird 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 LinkThird Party Advisory
- http://www.oracle.com/technetwork/topics/security/alert-cve-2012-4681-1835715.htmlVendor Advisory
- http://www.securityfocus.com/bid/55213Broken LinkThird Party AdvisoryVDB Entry
- http://www.us-cert.gov/cas/techalerts/TA12-240A.htmlThird Party AdvisoryUS Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting