CVE-2016-8735
Apache Tomcat Remote Code Execution Vulnerability
Description
CVE-2016-8735 is a critical remote code execution vulnerability in Apache Tomcat affecting versions 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. The vulnerability exists because the JmxRemoteLifecycleListener component was not updated to address the credential type handling changes introduced by Oracle's patch for CVE-2016-3427. When the JmxRemoteLifecycleListener is used and an attacker can reach the JMX ports, remote code execution is possible without authentication. With a CVSS score of 9.8 (Critical) and an EPSS score of 93.7% (99th percentile), CVE-2016-8735 represents an extreme risk. CISA has confirmed active exploitation in the wild, and the vulnerability affects a broad ecosystem of products including Canonical Ubuntu, NetApp, Debian, Red Hat, and numerous Oracle enterprise applications.
KEV Information
CVSS Score
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CalculatorAffected Products
| Vendor | Product | Version |
|---|---|---|
| apache | tomcat | < 6.0.48; >= 7.0.0, < 7.0.73; >= 8.0, < 8.0.39; >= 8.5.0, < 8.5.7; 9.0.0 |
| canonical | ubuntu linux | 16.04 |
| netapp | 7-mode transition tool | - |
| netapp | oncommand insight | - |
| netapp | oncommand shift | - |
| netapp | snap creator framework | - |
| debian | debian linux | 8.0 |
| redhat | jboss enterprise web server | 3.0.0 |
| oracle | agile engineering data management | 6.1.3; 6.2.0; 6.2.1.0 |
| oracle | agile plm | 9.3.5; 9.3.6 |
| oracle | communications application session controller | 3.7.1; 3.8.0 |
| oracle | communications instant messaging server | 10.0.1 |
| oracle | communications interactive session recorder | 6.0; 6.1; 6.2 |
| oracle | hospitality guest access | 4.2.0; 4.2.1 |
| oracle | micros relate crm software | 10.8; 11.4 |
| oracle | micros retail xbri loss prevention | 10.0.1; 10.5.0; 10.6.0; 10.7.7; 10.8.0; 10.8.1 |
| oracle | mysql enterprise monitor | <= 3.2.8.2223; >= 3.3.0, <= 3.3.4.3247; >= 3.4.0, <= 3.4.2.4181 |
| oracle | retail convenience and fuel pos software | 2.1.132 |
| 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 |
Multiple CVSS Assessments
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- http://rhn.redhat.com/errata/RHSA-2017-0457.html(Third Party Advisory)
- http://seclists.org/oss-sec/2016/q4/502(Mailing List, Mitigation, Third Party Advisory)
- http://svn.apache.org/viewvc?view=revision&revision=1767644(Broken Link, Patch)
- http://svn.apache.org/viewvc?view=revision&revision=1767656(Broken Link, Patch)
- http://svn.apache.org/viewvc?view=revision&revision=1767676(Broken Link, Patch)
- http://svn.apache.org/viewvc?view=revision&revision=1767684(Broken Link, Patch)
- http://tomcat.apache.org/security-6.html(Release Notes, Vendor Advisory)
- http://tomcat.apache.org/security-7.html(Release Notes, Vendor Advisory)
- http://tomcat.apache.org/security-8.html(Release Notes, Vendor Advisory)
- http://tomcat.apache.org/security-9.html(Release Notes, Vendor Advisory)
- http://www.debian.org/security/2016/dsa-3738(Mailing List, Third Party Advisory)
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html(Patch, Third Party Advisory)
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html(Patch, Third Party Advisory)
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html(Patch, Third Party Advisory)
- http://www.securityfocus.com/bid/94463(Broken Link, Third Party Advisory, VDB Entry)
- http://www.securitytracker.com/id/1037331(Broken Link, Third Party Advisory, VDB Entry)
- https://access.redhat.com/errata/RHSA-2017:0455(Third Party Advisory)
- https://access.redhat.com/errata/RHSA-2017:0456(Third Party Advisory)
- https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- https://lists.apache.org/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- https://lists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E(Mailing List, Patch)
- https://security.netapp.com/advisory/ntap-20180607-0001/(Third Party Advisory)
- https://usn.ubuntu.com/4557-1/(Third Party Advisory)
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html(Patch, Third Party Advisory)
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html(Patch, Third Party Advisory)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-8735(US Government Resource)
Weakness Type
No specific CWE has been assigned to CVE-2016-8735 in the NVD database. However, the underlying issue relates to improper credential handling in the JMX remote lifecycle listener, which failed to incorporate security fixes from CVE-2016-3427. This effectively creates an access control bypass that enables unauthenticated remote code execution through exposed JMX ports.
Impact Analysis
Attack Vector (Network): CVE-2016-8735 is remotely exploitable without physical access, requiring only network connectivity to the exposed JMX ports on the target Apache Tomcat server. Attack Complexity (Low): Exploitation requires no special conditions, timing, or preparation beyond network access to the JMX interface. Privileges Required (None): No authentication credentials are needed to exploit this vulnerability, making it accessible to any unauthenticated attacker. User Interaction (None): No action from a legitimate user or administrator is required. Confidentiality, Integrity, and Availability (All High): Successful exploitation achieves complete system compromise, allowing the attacker to read all accessible data, modify or delete files and configurations, and disrupt the availability of the Tomcat server and underlying system. The CVSS score of 9.8 (Critical) reflects the maximum severity given the combination of trivial exploitability and total system impact. The EPSS score of 93.7% (99th percentile) indicates near-certain exploitation activity, and CISA has confirmed active exploitation in the wild, making this vulnerability an immediate patching priority.
Exploit Maturity
Active exploitation of CVE-2016-8735 has been confirmed by CISA, which added this critical Apache Tomcat vulnerability to its Known Exploited Vulnerabilities catalog with a remediation deadline of June 2, 2023. The EPSS score of 93.7% places this vulnerability in the 99th percentile, indicating near-certain exploitation activity. While no references in the NVD data are specifically tagged as "Exploit," the vulnerability is directly related to CVE-2016-3427 (the Oracle Java JMX vulnerability), and exploit techniques developed for that vulnerability are applicable here due to the shared JMX credential handling flaw. When combined with CVE-2016-3427, which addresses the same JMX credential type issue in Oracle Java, attackers targeting JMX-enabled Tomcat deployments have a well-understood attack surface. The ransomware usage status is currently unknown, but the ability to achieve unauthenticated remote code execution on widely deployed web application servers makes CVE-2016-8735 a high-value target for ransomware operators and other threat actors.
Remediation
- Upgrade Apache Tomcat immediately as directed by CISA's required action: apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. Update to Tomcat 6.0.48, 7.0.73, 8.0.39, 8.5.7, or 9.0.0.M12 or later, depending on your major version branch.
- Disable JmxRemoteLifecycleListener if it is not required for your deployment. Remove or comment out the JmxRemoteLifecycleListener configuration from your server.xml file. If JMX remote monitoring is needed, use Java's built-in JMX remote configuration with proper authentication and SSL/TLS instead.
- Block JMX port access at the network level by configuring firewall rules to prevent external access to JMX ports (typically 1099 and any custom RMI ports). JMX management interfaces should never be exposed to untrusted networks. Apply network segmentation to isolate application servers.
- Apply downstream vendor patches for affected products: Canonical Ubuntu (USN-4557-1), Debian (DSA-3738), Red Hat JBoss Enterprise Web Server (RHSA-2017:0455, RHSA-2017:0456, RHSA-2017:0457), NetApp (NTAP-20180607-0001), and Oracle products per their quarterly Critical Patch Updates (CPUJan2018, CPUJul2018, CPUOct2017, CPUApr2019, CPUJul2019).
- Audit all Tomcat instances for JMX exposure by scanning for open JMX ports across your infrastructure and reviewing server.xml configurations for JmxRemoteLifecycleListener usage. Implement centralized monitoring to detect unauthorized JMX connections and ensure all Tomcat instances are running patched versions.
Technical Details
Vulnerability mechanism: CVE-2016-8735 stems from Apache Tomcat's JmxRemoteLifecycleListener not being updated to align with the security fix in Oracle's CVE-2016-3427 patch, which modified how JMX credential types are processed. The JmxRemoteLifecycleListener in Tomcat continued to use the pre-patch credential handling behavior, creating an access control bypass on the JMX interface that allows unauthenticated remote code execution. Exploitation technique: An attacker who can reach the JMX ports on a Tomcat server configured with JmxRemoteLifecycleListener can exploit the inconsistent credential handling to interact with the JMX MBean server without proper authentication, ultimately executing arbitrary code on the server. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H confirms that this is a network-accessible vulnerability with no barriers to exploitation and complete system compromise potential. Relationship to CVE-2016-3427: This vulnerability is a direct consequence of Apache Tomcat's failure to incorporate Oracle's April 2016 Critical Patch Update changes for the JMX component, making it essential to address both CVE-2016-3427 (at the JDK level) and CVE-2016-8735 (at the Tomcat level) to fully secure JMX-enabled deployments.
Frequently Asked Questions
Is CVE-2016-8735 being actively exploited?
Yes, CVE-2016-8735 is confirmed to be actively exploited in the wild. CISA has added this Apache Tomcat vulnerability to its Known Exploited Vulnerabilities catalog with a remediation deadline of June 2, 2023. The EPSS score of 93.7% (99th percentile) indicates near-certain exploitation activity, making immediate patching essential.
What products are affected by CVE-2016-8735?
CVE-2016-8735 affects 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. Numerous downstream products are also affected, including Canonical Ubuntu Linux, Debian, Red Hat JBoss Enterprise Web Server, NetApp products (OnCommand Insight, Snap Creator Framework), and multiple Oracle enterprise applications.
How do I fix CVE-2016-8735?
Upgrade Apache Tomcat to version 6.0.48, 7.0.73, 8.0.39, 8.5.7, or 9.0.0.M12 or later depending on your version branch. As an immediate mitigation, disable the JmxRemoteLifecycleListener if not required, and block external access to JMX ports via firewall rules. Apply downstream vendor patches for your specific platform. See the Remediation section for comprehensive steps.
How severe is CVE-2016-8735?
CVE-2016-8735 carries a CVSS v3.1 base score of 9.8 (Critical), the highest severity rating. It allows unauthenticated remote code execution with complete impact on confidentiality, integrity, and availability. The EPSS percentile of 99.8% places it among the most dangerous known vulnerabilities. This vulnerability is directly related to CVE-2016-3427 and both should be patched together for complete protection.
Need Help With Vulnerability Management?
Our security experts can help you prioritize and remediate vulnerabilities effectively.