cve.bz

CVE-2013-0422 Oracle JRE Remote Code Execution Vulnerability

9.8 criticalKEVExploitEPSS 97%

Critical (9.8) in Oracle Java Runtime Environment (JRE). In CISA KEV since 2022-05-25, with known ransomware use. EPSS 97% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
97% (unchanged from 97% a week ago; 97% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2022-05-25, due 2022-06-15, known ransomware use
CISA's assessment (SSVC)
Exploitation: active · Automatable: yes · Technical impact: total, assessed 2025-02-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-284 Improper Access Control
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2013-0422 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2013-0422?via=ask-ai-copy and https://cve.bz/cve/CVE-2013-0422?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2013-0422 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
oracle:jdk1.7.0
oracle:jdk1.7.0:update1
oracle:jdk1.7.0:update10
oracle:jdk1.7.0:update2
oracle:jdk1.7.0:update3
oracle:jdk1.7.0:update4
oracle:jdk1.7.0:update5
oracle:jdk1.7.0:update6
oracle:jdk1.7.0:update7
oracle:jdk1.7.0:update9
oracle:jre1.7.0
oracle:jre1.7.0:update1
oracle:jre1.7.0:update10
oracle:jre1.7.0:update2
oracle:jre1.7.0:update3
oracle:jre1.7.0:update4
oracle:jre1.7.0:update5
oracle:jre1.7.0:update6
oracle:jre1.7.0:update7
oracle:jre1.7.0:update9
canonical:ubuntu_linux12.10
opensuse:opensuse12.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:5::serverjava-1.7.0-openjdk, java-1.7.0-openjdk-src, java-1.7.0-openjdk-demo and 3 more1:1.7.0.9-2.3.4.el5_9.1RHSA-2013:0165
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morejava-1.7.0-openjdk, java-1.7.0-openjdk-src, java-1.7.0-openjdk-demo and 3 more1:1.7.0.9-2.3.4.1.el6_3RHSA-2013:0165
Red Hatrhel_extras:5::serverjava-1.7.0-ibm, java-1.7.0-ibm-src, java-1.7.0-ibm-demo and 3 more1:1.7.0.4.0-1jpp.2.el5_9RHSA-2013:0626
Red Hatrhel_extras:5::serverjava-1.7.0-oracle, java-1.7.0-oracle-src, java-1.7.0-oracle-jdbc and 3 more1:1.7.0.11-1jpp.3.el5_9RHSA-2013:0156
Red Hatrhel_extras:6java-1.7.0-ibm, java-1.7.0-ibm-src, java-1.7.0-ibm-demo and 3 more1:1.7.0.4.0-1jpp.2.el6_4RHSA-2013:0626
Red Hatrhel_extras:6java-1.7.0-oracle, java-1.7.0-oracle-src, java-1.7.0-oracle-jdbc and 3 more1:1.7.0.11-1jpp.3.el6_3RHSA-2013:0156
openSUSETumbleweedjava-1_7_0-openjdk1.7.0.121-1.1openSUSE-SU-2024:10534-1

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat · openSUSE.

Red Hat

Red Hat rates this Critical.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5java-1.7.0-openjdk-1:1.7.0.9-2.3.4.el5_9.1Fixed 2013-01-16RHSA-2013:0165
Red Hat Enterprise Linux 6java-1.7.0-openjdk-1:1.7.0.9-2.3.4.1.el6_3Fixed 2013-01-16RHSA-2013:0165
Supplementary for Red Hat Enterprise Linux 5java-1.7.0-oracle-1:1.7.0.11-1jpp.3.el5_9Fixed 2013-01-14RHSA-2013:0156
Supplementary for Red Hat Enterprise Linux 5java-1.7.0-ibm-1:1.7.0.4.0-1jpp.2.el5_9Fixed 2013-03-11RHSA-2013:0626
Supplementary for Red Hat Enterprise Linux 6java-1.7.0-oracle-1:1.7.0.11-1jpp.3.el6_3Fixed 2013-01-14RHSA-2013:0156
Supplementary for Red Hat Enterprise Linux 6java-1.7.0-ibm-1:1.7.0.4.0-1jpp.2.el6_4Fixed 2013-03-11RHSA-2013:0626
Red Hat Enterprise Linux 5java-1.5.0-ibmNot affected
Red Hat Enterprise Linux 5java-1.6.0-ibmNot affected
Red Hat Enterprise Linux 6java-1.5.0-ibmNot affected
Red Hat Enterprise Linux 6java-1.6.0-ibmNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2013-0422.

Public exploits

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).

References

Check your stackJSON