CVE-2019-12418
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.
What to do
Fixed builds are available from Debian, Maven, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | tomcat9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | tomcat9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | tomcat8 | Fix pending | UBUNTU-CVE-2019-12418 | |
| Ubuntu 18.04 | tomcat9 | Fix pending | UBUNTU-CVE-2019-12418 | |
| Ubuntu 16.04 | tomcat7 | Fix pending | UBUNTU-CVE-2019-12418 | |
| Ubuntu 16.04 | tomcat8 | Fixed | 8.0.32-1ubuntu1.11 | UBUNTU-CVE-2019-12418 |
| Ubuntu 14.04 | tomcat7 | Fix pending | UBUNTU-CVE-2019-12418 | |
| Debian 14 | tomcat9 | Fixed | 9.0.31-1 | DEBIAN-CVE-2019-12418 |
| Debian 13 | tomcat9 | Fixed | 9.0.31-1 | DEBIAN-CVE-2019-12418 |
| Debian 12 | tomcat9 | Fixed | 9.0.31-1 | DEBIAN-CVE-2019-12418 |
| Red Hat Enterprise Linux 8 | pki-servlet-4.0-api | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | pki-servlet-engine | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | tomcat | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-admin-webapps | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-docs-webapp | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-el-2.2-api | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-javadoc | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-jsp-2.2-api | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-jsvc | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-lib | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-servlet-3.0-api | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-webapps | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-admin-webapps | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-docs-webapp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-el-2.1-api | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-javadoc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-jsp-2.1-api | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-lib | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-log4j | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-servlet-2.5-api | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-webapps | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 5 | tomcat5 | Not affected | ||
| Maven library | org.apache.tomcat.embed:tomcat-embed-core | Fixed | 9.0.29 | GHSA-hh3j-x4mc-g48r |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Tomcat: affected: 9.0.0.M1 to 9.0.28, 8.5.0 to 8.5.47, 7.0.0 to 7.0.97
Vendor advisories:
- https://www.debian.org/security/2019/dsa-4596 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00013.html (vendor-advisory)
- https://usn.ubuntu.com/4251-1/ (vendor-advisory)
- https://security.gentoo.org/glsa/202003-43 (vendor-advisory)
- https://www.debian.org/security/2020/dsa-4680 (vendor-advisory)
References
- https://lists.apache.org/thread.html/43530b91506e2e0c11cfbe691173f5df8c48f51b98262426d7493b67%40%3Cannounce.tomcat.apache.org%3E
- https://www.debian.org/security/2019/dsa-4596
- https://seclists.org/bugtraq/2019/Dec/43
- https://security.netapp.com/advisory/ntap-20200107-0001/
- https://support.f5.com/csp/article/K10107360?utm_source=f5support&%3Butm_medium=RSS
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00013.html
- https://lists.debian.org/debian-lts-announce/2020/01/msg00024.html
- https://usn.ubuntu.com/4251-1/
- https://lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0%40%3Cdev.tomcat.apache.org%3E
- https://security.gentoo.org/glsa/202003-43
- https://lists.debian.org/debian-lts-announce/2020/03/msg00029.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.