Patchfirst
CVE-2016-8735 KEV Critical · 9.8 EPSS 90.3%

Apache Tomcat Remote Code Execution Vulnerability

Apache · Tomcat

Summary

The flaw is in Apache Tomcat's JmxRemoteLifecycleListener component, which is affected in Tomcat releases before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8.5.7, and 9.x before 9.0.0.M12 because the listener was not updated to match an earlier Oracle credential-type patch. An attacker who can reach the JMX ports over the network, in a deployment where this listener is configured, can execute remote code without needing credentials or any user interaction.

Official description · NVD

Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8.5.7, and 9.x before 9.0.0.M12 if JmxRemoteLifecycleListener is used and an attacker can reach JMX ports. The issue exists because this listener wasn't updated for consistency with the CVE-2016-3427 Oracle patch that affected credential types.

Breakdown
64.8 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 6 years after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidenceAdded to CISA KEVEU database agrees+6 yrs

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

7 fixes in tomcat-catalina over 5 years. The latest fix listed for tomcat-catalina is 9.0.17.

Fixes in tomcat-catalinaMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 8.0.6CVE-2014-009631 May 2014
  2. 8.0.6CVE-2014-011931 May 2014
  3. 8.5.5CVE-2016-538819 Jul 2016
  4. 9.0.0.M12CVE-2016-87356 Apr 2017KEV
  5. 9.0.0.M18CVE-2017-564817 Apr 2017
  6. 9.0.1CVE-2017-126174 Oct 2017KEV
  7. 9.0.17CVE-2019-022128 May 2019Latest listed

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

Attacker reaches exposed JMX port remotely

Remote code execution is possible with Apache Tomcat
From the official description (NVD) Original (opens in a new tab) ↗

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

Yields arbitrary code execution on server

Remote code execution is possible with Apache Tomcat
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 244 general rules for its techniques

Rules for this CVE

0 that reference CVE-2016-8735 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

2 packages in 1 ecosystem. No single main package: each of these ships the affected code.

  • Mavenorg.apache.tomcat:tomcat-catalina-jmx-remote
    Affected: 9.0.0.M1 up to 9.0.0.M12; 8.5.0 up to 8.5.7; 8.0.0 up to 8.0.39; 7.0.0 up to 7.0.73; All versions before 6.0.48Upgrade to 8.5.7 (older lines: 9.0.0.M12, 8.0.39, 7.0.73, 6.0.48)
  • Mavenorg.apache.tomcat:tomcat-catalina
    Affected: 9.0.0.M1 up to 9.0.0.M12; 8.5.0 up to 8.5.7; 8.0.0 up to 8.0.39; 7.0.0 up to 7.0.73; All versions before 6.0.48Upgrade to 8.5.55 (older lines: 9.0.109, 8.0.47, 7.0.104, 6.0.48)

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

37 links, grouped by NVD tag (36 duplicates merged)

Patch 23

svn.apache.org/viewvc?view=revision&revision=1767644svn.apache.org/viewvc?view=revision&revision=1767656svn.apache.org/viewvc?view=revision&revision=1767676svn.apache.org/viewvc?view=revision&revision=1767684oracle.com/technetwork/security-advisory/cpujan2018-3236628.htmloracle.com/technetwork/security-advisory/cpujul2018-4258247.htmloracle.com/technetwork/security-advisory/cpuoct2017-3236626.htmllists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E
Show 15 moreShow fewerlists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3Elists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3Elists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3Elists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3Elists.apache.org/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3%40%3Cdev.tomcat.apache.org%3Elists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3Elists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a%40%3Cdev.tomcat.apache.org%3Elists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3Elists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3Elists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3Elists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3Elists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3Elists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3Eoracle.com/technetwork/security-advisory/cpuapr2019-5072813.htmloracle.com/technetwork/security-advisory/cpujul2019-5072835.html
↑ ↓ chooseEnter openEsc close