Patchfirst
CVE-2013-0422 KEVRansomwarePublic exploitEnd of life Critical · 9.8 EPSS 97.0%

Oracle JRE Remote Code Execution Vulnerability

Oracle · Java Runtime Environment (JRE)

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

Summary

The Oracle Java Runtime Environment (JRE) contains multiple flaws in Oracle Java 7 before Update 11, in the JMX MBean instantiation path (JmxMBeanServer.getMBeanInstantiator and findClass) and in the Reflection API's handling of security checks through MethodHandles.Lookup.checkSecurityManager and Reflection.getCallerClass. A remote attacker with no privileges and no user interaction beyond reaching the vulnerable Java code can execute arbitrary code, and the Reflection API vector is known to have been used in attacks.

Official description · NVD

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using the public getMBeanInstantiator method in the JmxMBeanServer class to obtain a reference to a private MBeanInstantiator object, then retrieving arbitrary Class references using the findClass method, and (2) using the Reflection API with recursion in a way that bypasses a security check by the java.lang.invoke.MethodHandles.Lookup.checkSecurityManager method due to the inability of the sun.reflect.Reflection.getCallerClass method to skip frames related to the new reflection API, as exploited in the wild in January 2013, as demonstrated by Blackhole and Nuclear Pack, and a different vulnerability than CVE-2012-4681 and CVE-2012-3174. NOTE: some parties have mapped the recursive Reflection API issue to CVE-2012-3174, but CVE-2012-3174 is for a different vulnerability whose details are not public as of 20130114. CVE-2013-0422 covers both the JMX/MBean and Reflection API issues. NOTE: it was originally reported that Java 6 was also vulnerable, but the reporter has retracted this claim, stating that Java 6 is not exploitable because the relevant code is called in a way that does not bypass security checks. NOTE: as of 20130114, a reliable third party has claimed that the findClass/MBeanInstantiator vector was not fixed in Oracle Java 7 Update 11. If there is still a vulnerable condition, then a separate CVE identifier might be created for the unfixed issue.

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

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. What they do

First seen exploited the day it was disclosed. Public exploit code (Metasploit) was available the same day.

  1. DisclosedFirst seen exploitedVulnCheck KEV evidencePublic exploit codeMetasploitday 0
  2. Added to CISA KEVknown ransomware use; EU database agrees+9 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
AI mapping from the description · primary impact

arbitrary code execution in the Java context

allow remote attackers to execute arbitrary code
From the official description (NVD) Original (opens in a new tab) ↗
Lower-confidence links (2)

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.

  • Drive-by CompromiseT1189 server-side bug exploitable without user interaction; client-execution technique does not fit
  • Exploitation for Client ExecutionT1203 server-side bug exploitable without user interaction; client-execution technique does not fit

Detection

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

Rules for this CVE

0 that reference CVE-2013-0422 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 2 threat reports
2 reportsMicrosoft2

Reports are matched by finding the exact id CVE-2013-0422 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

20 links, grouped by NVD tag (19 duplicates merged)
↑ ↓ chooseEnter openEsc close