CVE-2019-12418
Insufficiently Protected Credentials in Apache Tomcat
Reported by apache · Published December 23, 2019
tomcat is fixed in 9.0.28, 8.5.47 and 7.0.97 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat | Maven Central | 9.0.28, 8.5.47, 7.0.97 |
| org.apache.tomcat.embed:tomcat-embed-core | Maven Central | 9.0.29, 8.5.49, 8.5.48, 7.0.99, 7.0.98 |
| tomcat-el-2.2-api | Amazon Linux | 7.0.76-10.amzn2.0.4 |
| tomcat | Amazon Linux | 7.0.76-10.amzn2.0.4 |
| tomcat-admin-webapps | Amazon Linux | 7.0.76-10.amzn2.0.4 |
| spark-3.5.0-compat | Chainguard | 3.5.0-r2 |
| tomcat-jsp-2.2-api | Amazon Linux | 7.0.76-10.amzn2.0.4 |
| tomcat-lib | Amazon Linux | 7.0.76-10.amzn2.0.4 |
| oncommand_system_manager | netapp | 3.1.3 |
| tomcat | apache | 9.0.28, 8.5.47, 7.0.97 |
| tomcat8 | Ubuntu:16.04:LTS | 8.0.32-1ubuntu1.11 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tomcat | 9.0.0.M1 to 9.0.28, 8.5.0 to 8.5.47, 7.0.0 to 7.0.97 |
| Maven | org.apache.tomcat:tomcat | 8.5.0, 9.0.0.M1, 7.0.0 |
| amazon:2 | tomcat-el-2.2-api | 0 |
| amazon:2 | tomcat | 0 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 8.0.0, 0, 9.0.0 |
| amazon:2 | tomcat-admin-webapps | 0 |
| chainguard | spark-3.5.0-compat | 0 |
| amazon:2 | tomcat-jsp-2.2-api | 0 |
| amazon:2 | tomcat-lib | 0 |
| Apache Software Foundation | Apache Tomcat | 7.0.0, 9.0.0.M1, 8.5.0 |
| amazon:2 | tomcat-servlet-3.0-api | 0 |
| amazon:2 | tomcat-jsvc | 0 |
| amazon:2 | tomcat-docs-webapp | 0 |
| amazon:2 | tomcat-webapps | 0 |
| amazon:2 | tomcat-javadoc | 0 |
Timeline
- Dec 23, 2019 CVE Published
- Jun 11, 2020 PoC Published (2 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (10 in total, the first dated here)
- Mar 6, 2026 Security Advisory (14 in total, the first dated here)
- Sep 15, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-12418
vulnetix vdb fixes CVE-2019-12418
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-12418/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- DSA-4596 vendor-advisoryx_refsource_DEBIAN
- 20191229 [SECURITY] [DSA 4596-1] tomcat8 security update mailing-listx_refsource_BUGTRAQ
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- openSUSE-SU-2020:0038 vendor-advisoryx_refsource_SUSE
- [debian-lts-announce] 20200127 [SECURITY] [DLA 2077-1] tomcat7 security update mailing-listx_refsource_MLIST
- USN-4251-1 vendor-advisoryx_refsource_UBUNTU
- [tomcat-dev] 20200203 svn commit: r1873527 [24/30] - /tomcat/site/trunk/docs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20200203 svn commit: r1873527 [25/30] - /tomcat/site/trunk/docs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [28/34] - /tomcat/site/trunk/docs/ mailing-listx_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [29/34] - /tomcat/site/trunk/docs/ mailing-listx_refsource_MLIST
- GLSA-202003-43 vendor-advisoryx_refsource_GENTOO
- [debian-lts-announce] 20200324 [SECURITY] [DLA 2155-1] tomcat8 security update mailing-listx_refsource_MLIST
- x_refsource_MISC
- DSA-4680 vendor-advisoryx_refsource_DEBIAN
- https://support.f5.com/csp/article/K10107360?utm_source=f5support&utm_medium=RSS url
- https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d@%3Cdev.tomcat.apache.org%3E url
- https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0@%3Cdev.tomcat.apache.org%3E url
…and 5 more