CVE-2016-5018

Public Exploit

Description

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.

9.1
CVSS
Severity: Critical
CVSS 3.1 •
CVSS 2.0 •
EPSS 1.05% Top 25%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory debian.org Vendor Advisory redhat.com Vendor Advisory ubuntu.com
Affected: Apache Software Foundation Apache Tomcat
Published at:
Updated at:

References

Link Tags
https://access.redhat.com/errata/RHSA-2017:1548 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2017:1549 third party advisory vendor advisory
http://www.securityfocus.com/bid/93942 vdb entry broken link
https://access.redhat.com/errata/RHSA-2017:1552 third party advisory vendor advisory
http://www.securitytracker.com/id/1038757 vdb entry broken link
https://access.redhat.com/errata/RHSA-2017:2247 third party advisory vendor advisory
http://rhn.redhat.com/errata/RHSA-2017-1551.html third party advisory vendor advisory
https://lists.apache.org/thread.html/9b3a63a20c87179815fdea14f6766853bafe79a0042dc0b4aa878a9e%40%3Cannounce.tomcat.apache.org%3E mailing list
http://www.securitytracker.com/id/1037142 vdb entry broken link
http://rhn.redhat.com/errata/RHSA-2017-0457.html third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2017:0455 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2017:1550 third party advisory vendor advisory
http://www.debian.org/security/2016/dsa-3720 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2017:0456 third party advisory vendor advisory
https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E mailing list
https://lists.apache.org/thread.html/b8a1bf18155b552dcf9a928ba808cbadad84c236d85eab3033662cfb%40%3Cdev.tomcat.apache.org%3E mailing list
https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E mailing list
https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E mailing list
https://lists.apache.org/thread.html/39ae1f0bd5867c15755a6f959b271ade1aea04ccdc3b2e639dcd903b%40%3Cdev.tomcat.apache.org%3E mailing list
https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E mailing list
https://lists.apache.org/thread.html/37220405a377c0182d2afdbc36461c4783b2930fbeae3a17f1333113%40%3Cdev.tomcat.apache.org%3E mailing list
https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E mailing list
https://lists.apache.org/thread.html/b84ad1258a89de5c9c853c7f2d3ad77e5b8b2930be9e132d5cef6b95%40%3Cdev.tomcat.apache.org%3E mailing list
https://lists.apache.org/thread.html/r03c597a64de790ba42c167efacfa23300c3d6c9fe589ab87fe02859c%40%3Cdev.tomcat.apache.org%3E mailing list
https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E mailing list
https://lists.apache.org/thread.html/r587e50b86c1a96ee301f751d50294072d142fd6dc08a8987ae9f3a9b%40%3Cdev.tomcat.apache.org%3E mailing list
https://usn.ubuntu.com/4557-1/ third party advisory vendor advisory
https://security.netapp.com/advisory/ntap-20180605-0001/ third party advisory
https://www.oracle.com/security-alerts/cpuoct2021.html third party advisory patch
http://packetstormsecurity.com/files/155873/Tomcat-9.0.0.M1-Sandbox-Escape.html third party advisory vdb entry exploit

Frequently Asked Questions

What is the severity of CVE-2016-5018?
CVE-2016-5018 has been scored as a critical severity vulnerability.
How to fix CVE-2016-5018?
To fix CVE-2016-5018, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2016-5018 being actively exploited in the wild?
It is possible that CVE-2016-5018 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2016-5018?
CVE-2016-5018 affects Apache Software Foundation Apache Tomcat.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.