Apache Tomcat Remote Code Execution
CVE-2016-8735 is a critical-severity vulnerability in Apache Tomcat from Apache, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected Apache Tomcat versions: before 6.0.48; 7.x before 7.0.73; 8.x before 8.0.39, and others listed below. The record does not name a fixed version, so check the vendor advisory. CISA added it to the Known Exploited Vulnerabilities catalogue on May 12, 2023, which means attacks have been observed in the wild.
Attackers are already exploiting this vulnerability, according to CISA.
What to do
- Update Tomcat to 6.0.48 or 7.0.73 or 8.0.39 or 8.5.7, whichever matches your release line, or a later version.
- CISA's required action: Apply updates per vendor instructions.
- Read the advisory on tomcat.apache.org for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Apache | 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; 9.x before 9.0.0.M12 | Not stated |
| Apache | Tomcat | before 6.0.48; 7.0.0 up to, but not including, 7.0.73; 8.0 up to, but not including, 8.0.39; 8.5.0 up to, but not including, 8.5.7; 9.0.0 | 6.0.48, 7.0.73, 8.0.39, 8.5.7 |
| Canonical | Ubuntu Linux | 16.04 | Not stated |
| NetApp | 7-mode Transition Tool | Not specified in the record | Not stated |
| NetApp | Oncommand Insight | Not specified in the record | Not stated |
| NetApp | Oncommand Shift | Not specified in the record | Not stated |
| NetApp | Snap Creator Framework | Not specified in the record | Not stated |
| Debian | Debian Linux | 8.0 | Not stated |
| Red Hat | Jboss Enterprise Web Server | 3.0.0 | Not stated |
| Oracle | Agile Engineering Data Management | 6.1.3; 6.2.0; 6.2.1.0 | Not stated |
| Oracle | Agile Product Lifecycle Management | 9.3.5; 9.3.6 | Not stated |
| Oracle | Communications Application Session Controller | 3.7.1; 3.8.0 | Not stated |
| Oracle | Communications Instant Messaging Server | 10.0.1 | Not stated |
| Oracle | Communications Interactive Session Recorder | 6.0; 6.1; 6.2 | Not stated |
| Oracle | Hospitality Guest Access | 4.2.0; 4.2.1 | Not stated |
| Oracle | Micros Relate CRM Software | 10.8; 11.4 | Not stated |
| Oracle | Micros Retail Xbri Loss Prevention | 10.0.1; 10.5.0; 10.6.0; 10.7.7; 10.8.0; 10.8.1 | Not stated |
| Oracle | MySQL Enterprise Monitor | 3.2.8.2223 and earlier; 3.3.0 through 3.3.4.3247; 3.4.0 through 3.4.2.4181 | Not stated |
| Oracle | Retail Convenience And Fuel Pos Software | 2.1.132 | Not stated |
| Oracle | Transportation Management | 6.3.0; 6.3.1; 6.3.2; 6.3.3; 6.3.4; 6.3.5; 6.3.6; 6.3.7 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 9.8 | Critical | NVD |
| CVSS 3.1 | 9.8 | Critical | CISA (ADP) |
| CVSS 2.0 | 7.5 | High | NVD |
Official description
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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
Timeline
- CVE record published.
- Added to CISA's Known Exploited Vulnerabilities catalogue.
- Deadline for US federal agencies to remediate, set by CISA.
- CISA published its SSVC assessment (exploitation: active, automatable: yes, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
- tomcat.apache.org/security-6.htmlRelease Notes
- tomcat.apache.org/security-7.htmlRelease Notes
- tomcat.apache.org/security-8.htmlRelease Notes
- tomcat.apache.org/security-9.htmlRelease Notes
- oracle.com/technetwork/security-advisory/cpujan2018-3236628.htmlThird Party Advisory
- oracle.com/technetwork/security-advisory/cpujul2018-4258247.htmlThird Party Advisory
- oracle.com/technetwork/security-advisory/cpuoct2017-3236626.htmlThird Party Advisory
- oracle.com/technetwork/security-advisory/cpuapr2019-5072813.htmlThird Party Advisory
- oracle.com/technetwork/security-advisory/cpujul2019-5072835.htmlThird Party Advisory
Patches and release notes
- seclists.org/oss-sec/2016/q4/502Mailing List, Mitigation, Third Party Advisory
- lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache…Mailing List
- lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache…Mailing List
- lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache…Mailing List
- lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache…Mailing List
- lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache…Mailing List
- lists.apache.org/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3%40%3Cdev.tomcat.apache…Mailing List
- lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache…Mailing List
- lists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a%40%3Cdev.tomcat.apache…Mailing List
- lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache…Mailing List
- lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache…Mailing List
- lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache…Mailing List
- lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache…Mailing List
- lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache…Mailing List
- lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache…Mailing List
Third-party and government advisories
- rhn.redhat.com/errata/RHSA-2017-0457.htmlThird Party Advisory
- debian.org/security/2016/dsa-3738Mailing List, Third Party Advisory
- access.redhat.com/errata/RHSA-2017:0455Third Party Advisory
- access.redhat.com/errata/RHSA-2017:0456Third Party Advisory
- security.netapp.com/advisory/ntap-20180607-0001/Third Party Advisory
- usn.ubuntu.com/4557-1/Third Party Advisory
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-8735US Government Resource
Other vulnerabilities in Apache Tomcat
- 7.5 High severity
- 7.5 High severity
- 8.1 High severity
- 9.1 Critical severity
- 9.1 Critical severity
- 8.1 High severity
Spotted an error? Tell us.