CVE-2016-8735
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.
What to do
This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2023-05-12). If you run an affected version, patch or mitigate now.
Fixed builds are available from 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 16.04 | tomcat6 | Fixed | 6.0.45+dfsg-1ubuntu0.1 | UBUNTU-CVE-2016-8735 |
| Ubuntu 16.04 | tomcat7 | Fixed | 7.0.68-1ubuntu0.3 | UBUNTU-CVE-2016-8735 |
| Ubuntu 16.04 | tomcat8 | Fixed | 8.0.32-1ubuntu1.3 | UBUNTU-CVE-2016-8735 |
| Ubuntu 14.04 | tomcat6 | Fix pending | 6.0.39-1ubuntu0.1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2016-8735 |
| Ubuntu 14.04 | tomcat7 | Fixed | 7.0.52-1ubuntu0.8 | UBUNTU-CVE-2016-8735 |
| 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 | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-admin-webapps | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-docs-webapp | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-el-2.1-api | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-javadoc | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-jsp-2.1-api | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-lib | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-log4j | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-servlet-2.5-api | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-webapps | Not affected | ||
| Red Hat Enterprise Linux 5 | tomcat5 | Not affected | ||
| Maven library | org.apache.tomcat:tomcat-catalina | Fixed | 7.0.73 | GHSA-cw54-59pw-4g8c |
| Maven library | org.apache.tomcat:tomcat-catalina-jmx-remote | Fixed | 9.0.0.M12 | GHSA-cw54-59pw-4g8c |
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: 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
Vendor advisories:
- http://www.debian.org/security/2016/dsa-3738 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2017-0457.html (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:0455 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:0456 (vendor-advisory)
- https://usn.ubuntu.com/4557-1/ (vendor-advisory)
References
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- http://svn.apache.org/viewvc?view=revision&revision=1767676
- http://tomcat.apache.org/security-9.html
- http://www.securitytracker.com/id/1037331
- http://www.securityfocus.com/bid/94463
- http://www.debian.org/security/2016/dsa-3738
- http://tomcat.apache.org/security-7.html
- http://svn.apache.org/viewvc?view=revision&revision=1767644
- http://tomcat.apache.org/security-8.html
- http://svn.apache.org/viewvc?view=revision&revision=1767656
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- https://security.netapp.com/advisory/ntap-20180607-0001/
- http://tomcat.apache.org/security-6.html
- http://rhn.redhat.com/errata/RHSA-2017-0457.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.