CVE-2019-12418 Insufficiently Protected Credentials in Apache Tomcat
A local attacker can capture JMX credentials via RMI manipulation in Tomcat, leading to credential theft and full instance control.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-12418?
CVE-2019-12418 is a high-severity vulnerability in Apache Tomcat, published on 23 Dec 2019. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
When Apache Tomcat 9.0.0.M1 to 9.0.28, 8.5.0 to 8.5.47, 7.0.0 and 7.0.97 is configured with the JMX Remote Lifecycle Listener, a local attacker without access to the Tomcat process or configuration files is able to manipulate the RMI registry to perform a man-in-the-middle attack to capture user names and passwords used to access the JMX interface. The attacker can then use these credentials to access the JMX interface and gain complete control over the Tomcat instance.
Which versions are affected by CVE-2019-12418?
6 open source packages ship an affected version, including org.apache.tomcat.embed:tomcat-embed-core. It affects 6 products.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.tomcat.embed:tomcat-embed-core Maven | All versions | 7.0.99 |
org.apache.tomcat.embed:tomcat-embed-core Maven | All versions | 7.0.99 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 8.0.0 | 8.5.49 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 8.0.0 | 8.5.49 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 9.0.0 | 9.0.29 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 9.0.0 | 9.0.29 |
Products include Apache Tomcat, Canonical Ubuntu Linux, Debian Debian Linux, Netapp Oncommand System Manager, Opensuse Leap, Oracle Workload Manager.
How do I fix CVE-2019-12418?
Upgrade org.apache.tomcat.embed:tomcat-embed-core to a fixed version for your release line: 7.0.99, 8.5.49 or 9.0.29.
Is CVE-2019-12418 being exploited?
There is no known exploitation of CVE-2019-12418 in the wild and no public exploit code.
Other vulnerabilities in Apache Tomcat
Sources
Also known as DEBIAN-CVE-2019-12418, DLA-2155-1, GHSA-hh3j-x4mc-g48r, UBUNTU-CVE-2019-12418.