CVE-2016-5018: Apache Software Foundation Apache Tomcat vulnerability
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-25 00:24 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
In Apache Tomcat 9.0.0.M1 to 9.0.0.M9, 8.5.0 to 8.5.4, 8.0.0.RC1 to 8.0.36, 7.0.0 to 7.0.70 and 6.0.0 to 6.0.45 a malicious web application was able to bypass a configured SecurityManager via a Tomcat utility method that was accessible to web applications.
Description quoted from the CVE record (assigned by apache, published 2017-08-10).
How it can be exploited
CISA assessment (SSVC): CISA has no evidence of exploitation. Automatable: yes. Technical impact: total.
Public exploit evidence (Exploit Observer)
Exploit Observer found 1 Exploit-DB entry and 3 research write-ups naming this CVE.
See all 16 references on Exploit Observer
Live scores
- EPSS
- 0.490
likely to be attacked soon - VEDAS
- 0.985
strong exploit evidence - On CISA KEV
- Not listed
- Detection rule
- No public rule yet
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| Apache Software Foundation Apache Tomcat | version 9.0.0.M1 to 9.0.0.M9 version 8.5.0 to 8.5.4 version 8.0.0.RC1 to 8.0.36 version 7.0.0 to 7.0.70 version 6.0.0 to 6.0.45 | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
How to fix it
Vendor guidance:
- RHSA-2017:1548 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2017:1549 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2017:1552 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2017:2247 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2017:1551 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2017:0457 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2017:0455 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2017:1550 (vendor-advisory, x_refsource_REDHAT)
3 more
- DSA-3720 (vendor-advisory, x_refsource_DEBIAN)
- RHSA-2017:0456 (vendor-advisory, x_refsource_REDHAT)
- USN-4557-1 (vendor-advisory, x_refsource_UBUNTU)
How to detect it
There is no open VEDAS detection rule for this bug yet. It is listed on the detection gaps page if CISA has confirmed attacks.
References
Vendor advisories and patches
- RHSA-2017:1548 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2017:1549 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2017:1552 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2017:2247 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2017:1551 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2017:0457 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2017:0455 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2017:1550 (vendor-advisory, x_refsource_REDHAT)
- DSA-3720 (vendor-advisory, x_refsource_DEBIAN)
- RHSA-2017:0456 (vendor-advisory, x_refsource_REDHAT)
- USN-4557-1 (vendor-advisory, x_refsource_UBUNTU)
Other references
- 93942 (vdb-entry, x_refsource_BID)
- 1038757 (vdb-entry, x_refsource_SECTRACK)
- [announce] 20161027 [SECURITY] CVE-2016-5018 Apache Tomcat Security Manager Bypass (mailing-list, x_refsource_MLIST)
- 1037142 (vdb-entry, x_refsource_SECTRACK)
- [tomcat-dev] 20190319 svn commit: r1855831 [25/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ (mailing-list, x_refsource_MLIST)
- [tomcat-dev] 20190319 svn commit: r1855831 [23/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ (mailing-list, x_refsource_MLIST)
- [tomcat-dev] 20190325 svn commit: r1856174 [22/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ (mailing-list, x_refsource_MLIST)
- [tomcat-dev] 20190325 svn commit: r1856174 [24/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ (mailing-list, x_refsource_MLIST)
- [tomcat-dev] 20190325 svn commit: r1856174 [21/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ (mailing-list, x_refsource_MLIST)
- [tomcat-dev] 20190413 svn commit: r1857494 [16/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ (mailing-list, x_refsource_MLIST)
- [tomcat-dev] 20190413 svn commit: r1857494 [15/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ (mailing-list, x_refsource_MLIST)
- [tomcat-dev] 20190415 svn commit: r1857582 [17/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ (mailing-list, x_refsource_MLIST)
7 more
- [tomcat-dev] 20190415 svn commit: r1857582 [16/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ (mailing-list, x_refsource_MLIST)
- [tomcat-dev] 20200203 svn commit: r1873527 [23/30] - /tomcat/site/trunk/docs/ (mailing-list, x_refsource_MLIST)
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/ (mailing-list, x_refsource_MLIST)
- [tomcat-dev] 20200213 svn commit: r1873980 [26/34] - /tomcat/site/trunk/docs/ (mailing-list, x_refsource_MLIST)
- https://security.netapp.com/advisory/ntap-20180605-0001/ (x_refsource_CONFIRM)
- https://www.oracle.com/security-alerts/cpuoct2021.html (x_refsource_MISC)
- http://packetstormsecurity.com/files/155873/Tomcat-9.0.0.M1-Sandbox-Escape.html (x_refsource_MISC)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.
Supporting partners