Bug 1785699 (CVE-2019-12418) - CVE-2019-12418 tomcat: local privilege escalation
Summary: CVE-2019-12418 tomcat: local privilege escalation
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-12418
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1785700 1785701 1810125 1810126 1810127 1812422
Blocks: 1785716
TreeView+ depends on / blocked
 
Reported: 2019-12-20 17:57 UTC by Guilherme de Almeida Suckevicz
Modified: 2025-04-13 00:12 UTC (History)
50 users (show)

Fixed In Version: tomcat 7.0.98, tomcat 8.5.48, tomcat 9.0.29
Clone Of:
Environment:
Last Closed: 2020-03-17 16:31:48 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:0860 0 None None None 2020-03-17 13:10:56 UTC
Red Hat Product Errata RHSA-2020:0861 0 None None None 2020-03-17 13:12:37 UTC
Red Hat Product Errata RHSA-2020:1520 0 None None None 2020-04-21 11:06:45 UTC
Red Hat Product Errata RHSA-2020:1521 0 None None None 2020-04-21 10:55:53 UTC

Description Guilherme de Almeida Suckevicz 2019-12-20 17:57:49 UTC
When Tomcat 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.

Reference:
https://tomcat.apache.org/security-7.html
https://tomcat.apache.org/security-8.html
http://tomcat.apache.org/security-9.html

Upstream commits:
https://github.com/apache/tomcat/commit/bef3f40
https://github.com/apache/tomcat/commit/a91d7db
https://github.com/apache/tomcat/commit/1fc9f58

Comment 1 Guilherme de Almeida Suckevicz 2019-12-20 17:58:17 UTC
Created tomcat tracking bugs for this issue:

Affects: epel-all [bug 1785700]
Affects: fedora-all [bug 1785701]

Comment 2 Paramvir jindal 2019-12-23 08:25:33 UTC
This vulnerability is out of security support scope for the following products:
 * Red Hat JBoss BPM Suite 6
 * Red Hat JBoss BRMS 6

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.

Comment 12 Mauro Matteo Cascella 2020-03-04 13:22:31 UTC
Statement:

This flaw did not affect the versions of tomcat as shipped with Red Hat Enterprise Linux 5, as they did not include JMX Remote Lifecycle Listener, which was introduced in a later version of the package.

Comment 19 Mauro Matteo Cascella 2020-03-05 09:05:42 UTC
Mitigation:

Disable JMX Remote if monitoring is only needed locally and there is no need to monitor Tomcat remotely. If JMX Remote is required and cannot be disabled, then use the built-in remote JMX facilities provided by the JVM.
Please note that JMX Remote Lifecycle Listener is now deprecated and may be removed from both Tomcat 7 [1] and Tomcat 9 [2] after 2020-12-31.

[1] https://tomcat.apache.org/tomcat-7.0-doc/config/listeners.html#Deprecated_Implementations
[2] https://tomcat.apache.org/tomcat-9.0-doc/config/listeners.html#Deprecated_Implementations

Comment 21 errata-xmlrpc 2020-03-17 13:10:53 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Web Server

Via RHSA-2020:0860 https://access.redhat.com/errata/RHSA-2020:0860

Comment 22 errata-xmlrpc 2020-03-17 13:12:35 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Web Server 3 for RHEL 7
  Red Hat JBoss Web Server 3 for RHEL 6

Via RHSA-2020:0861 https://access.redhat.com/errata/RHSA-2020:0861

Comment 23 Product Security DevOps Team 2020-03-17 16:31:48 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-12418

Comment 24 errata-xmlrpc 2020-04-21 10:55:50 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Web Server

Via RHSA-2020:1521 https://access.redhat.com/errata/RHSA-2020:1521

Comment 25 errata-xmlrpc 2020-04-21 11:06:42 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Web Server 5.3 on RHEL 7
  Red Hat JBoss Web Server 5.3 on RHEL 6
  Red Hat JBoss Web Server 5.3 on RHEL 8

Via RHSA-2020:1520 https://access.redhat.com/errata/RHSA-2020:1520


Note You need to log in before you can comment on or make changes to this bug.