CVE-2013-0422 vulnerability in Oracle and Other Products
Published on January 10, 2013
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.
Known Exploited Vulnerability
This Oracle JRE Remote Code Execution Vulnerability is part of CISA's list of Known Exploited Vulnerabilities. A vulnerability in the way Java restricts the permissions of Java applets could allow an attacker to execute commands on a vulnerable system.
The following remediation steps are recommended / required by June 15, 2022: Apply updates per vendor instructions.
Vulnerability Analysis
Permissions, Privileges, and Access Controls
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.
Products Associated with CVE-2013-0422
You can be notified by stack.watch whenever vulnerabilities like CVE-2013-0422 are published in these products:
What versions are vulnerable to CVE-2013-0422?
- Oracle Java Runtime Environment (JRE) Version 1.7.0 update9
- Oracle Java Development Kit (JDK) Version 1.7.0 update6
- Oracle Java Runtime Environment (JRE) Version 1.7.0 update6
- Oracle Java Development Kit (JDK) Version 1.7.0 update5
- Oracle Java Runtime Environment (JRE) Version 1.7.0 update3
- Oracle Java Development Kit (JDK) Version 1.7.0 update7
- Oracle Java Development Kit (JDK) Version 1.7.0 update2
- Oracle Java Development Kit (JDK) Version 1.7.0 update9
- Oracle Java Runtime Environment (JRE) Version 1.7.0 update10
- Oracle Java Runtime Environment (JRE) Version 1.7.0 update2
- Oracle Java Development Kit (JDK) Version 1.7.0 update3
- Oracle Java Runtime Environment (JRE) Version 1.7.0 update5
- Oracle Java Runtime Environment (JRE) Version 1.7.0 update4
- Oracle Java Development Kit (JDK) Version 1.7.0 update1
- Oracle Java Runtime Environment (JRE) Version 1.7.0 update7
- Oracle Java Development Kit (JDK) Version 1.7.0 update10
- Oracle Java Development Kit (JDK) Version 1.7.0 update4
- Oracle Java Runtime Environment (JRE) Version 1.7.0 update1
- Oracle Java Runtime Environment (JRE) Version 1.7.0 -
- Oracle Java Development Kit (JDK) Version 1.7.0 -
- Canonical Ubuntu Linux Version 12.10
- OpenSuse Version 12.2