---
title: "CVE-2013-0422\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2013-0422?format=md
keywords: index, follow
---

# CVE-2013-0422

Publication date 10 January 2013

Last updated 25 August 2025

---

Ubuntu priority

**High**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**9.8 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2013-0422?format=md#impact-score)

Toggle side navigation

## Description

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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2013-0422?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| icedtea-web | 12.10 quantal | Not affected |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not affected |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | Not in release |
| openjdk-6 | 12.10 quantal | Not affected |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not affected |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | Ignored end of life |
| openjdk-7 | 12.10 quantal | Fixed 7u9-2.3.4-0ubuntu1.12.10.1 |
| 12.04 LTS precise | Fixed 7u9-2.3.4-0ubuntu1.12.04.1 |
| 11.10 oneiric | Fixed 7u9-2.3.4-0ubuntu1.11.10.1 |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |
| sun-java5 | 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Ignored end of life |
| sun-java6 | 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2013-0422?format=md#patch-details)

## Notes

---

### [jdstrand](https://launchpad.net/~jdstrand)

actively being exploited against Oracle Java. As of 2013-01-12 no
updates are available from Oracle. Users are advised to disable or uninstall
the Oracle java 7 plugin
vulnerability appears to be introduced in Java 7 and Java 6 does not
seem affected
IcedTea 7 is affected way but the reproducers currently don't work
on Ubuntu. Users are advised to disable and/or uninstall the IcedTea plugin
(regardless of version) as a precaution unless its use is strictly required.
per mdeslaur, can't reproduce with icedtea-7-plugin on Ubuntu 12.04
LTS and 12.10 or with icedtea6-plugin on 12.04 LTS. jdstrand could also not
reproduce.
per mdeslaur, reproducer works with Oracle Java 7u10 on Ubuntu 12.04
LTS and 12.10. Confirmed to also work with 7u9.
Fixed in IcedTea 2.2.3 and 2.3.4

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| openjdk-7 | * Upstream:   <http://icedtea.classpath.org/hg/release/icedtea7-2.2/raw-rev/9cc2d9873b77> * Upstream:   <http://icedtea.classpath.org/hg/release/icedtea7-2.3/rev/f1922e9d9cb7> * Upstream:   <http://icedtea.classpath.org/hg/release/icedtea7-2.3/rev/e3c253d72ae5> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0422)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2013-0422)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2013-0422)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2013-0422)

### Related Ubuntu Security Notices (USN)

+ [USN-1693-1](https://usn.ubuntu.com/USN-1693-1)
+ OpenJDK 7 vulnerabilities
+ 16 January 2013

### Other references

* <http://www.kb.cert.org/vuls/id/625617>
* <http://blog.fireeye.com/research/2013/01/happy-new-year-from-new-java-zero-day.html>
* <http://krebsonsecurity.com/2013/01/zero-day-java-exploit-debuts-in-crimeware/>
* <http://labs.alienvault.com/labs/index.php/2013/new-year-new-java-zeroday/>
* <http://malware.dontneedcoffee.com/2013/01/0-day-17u10-spotted-in-while-disable.html>
* <https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/browser/java_jre17_jmxbean.rb>
* <https://github.com/rapid7/metasploit-framework/tree/master/data/exploits/cve-2013-0422>
* <http://pastebin.com/cUG2ayjh>
* <http://www.reddit.com/r/netsec/comments/16b4n1/0day_exploit_fo_java_17u10_spotted_in_the_wild/c7ulpd7>
* <http://www.oracle.com/technetwork/java/javase/7u11-relnotes-1896856.html>
* <https://blogs.oracle.com/security/entry/security_alert_for_cve_2013>
* <https://www.cve.org/CVERecord?id=CVE-2013-0422>
* <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>
