Patchfirst
CVE-2012-4681 KEVRansomwarePublic exploitEnd of life Critical · 9.8 EPSS 98.5%

Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability

Oracle · Java SE

End of lifeJava SE 7 reached on 14 Apr 2015. No patch is coming: remove or isolate it.

Summary

The Java Runtime Environment (JRE) component of Oracle Java SE 7 Update 6 and earlier contains multiple flaws that allow the SecurityManager sandbox to be bypassed through improper access control. A remote attacker can execute arbitrary code by luring a user into running a crafted applet, which requires no authentication and can be delivered over the network.

Official description · NVD

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.

Breakdown
68.7 / 100
Exploited
Yes, in CISA KEV
Reports
1
Tactics
1/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. What can follow

First seen exploited the day it was disclosed. Public exploit code (Metasploit) was available 2 days before disclosure.

  1. Public exploit codeMetasploit2 days before
  2. DisclosedFirst seen exploitedVulnCheck KEV evidenceday 0
  3. Added to CISA KEVknown ransomware use; EU database agrees+10 yrs

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

1 , grouped by in kill-chain order, 2 cited passages 1

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
MITRE CTID mapping of the CVE · uncategorised
Lower-confidence links (5)

These come from early or generic mappings, text matching, or contradict this CVE’s details (for example a public-facing technique on a bug that needs a user to open a file). Shown for completeness.

  • Process DiscoveryT1057 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)
  • Exploitation for Privilege EscalationT1068 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)
  • Drive-by CompromiseT1189 server-side bug exploitable without user interaction; client-execution technique does not fit
  • Execution GuardrailsT1480 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)
  • Virtualization/Sandbox EvasionT1497 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)

Detection

0 rules for this CVE · 95 general rules for its techniques

Rules for this CVE

0 that reference CVE-2012-4681 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

General rules for this CVE’s techniques

These detect the technique in general, not this specific vulnerability.

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Named in 1 threat report
1 reportmedia.kasperskycontenthub.com

Reports are matched by finding the exact id CVE-2012-4681 in their text; nobody has reviewed the match. One passage is shown per report, at most 320 characters, linked to the original.

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

14 links, grouped by NVD tag (13 duplicates merged)
↑ ↓ chooseEnter openEsc close