Vulnerability in Apache Tomcat
CVE-2018-1304
The URL pattern of "" (the empty string) which exactly maps to the context root was not correctly handled in Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49 and 7.0.0 to 7.0.84 when used as part of a security constraint definition. This caused the constraint to be ignored. It was, therefore, possible for unauthorised users to gain access to web application resources that should have been protected. Only security constraints with a URL pattern of the empty string were affected.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.171, 97.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apache Tomcat — versions 8.0.0, 9.0.0
- Apache Software Foundation Tomcat — versions Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49, 7.0.0 to 7.0.84
- Oracle Fusion Middleware — versions 12.2.1.3.0
- Oracle Hospitality Guest Access — versions 4.2.0, 4.2.1
- Oracle Micros Relate Crm Software — versions 11.4
- Oracle Secure Global Desktop — versions 5.3, 5.4
- Canonical Ubuntu Linux — versions 14.04, 16.04, 17.10
- Debian Linux — versions 7.0, 8.0, 9.0
- Red Hat Jboss Enterprise Application Platform — versions 6, 6.4
- Red Hat Jboss Enterprise Web Server — versions 3.0.0
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- knqyf263/CVE-2018-1304 (3 stars, last pushed 2018-02-25)
- thariyarox/tomcat_CVE-2018-1304_testing (last pushed 2018-03-08)
Also mentioned in 7 other repositories (0xT11/CVE-POC, ARPSyndicate/cvemon, developer3000S/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- RHSA-2018:1448 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20180706-0001/ (Patch, Third Party Advisory)
- www.securityfocus.com/bid/103170 (Third Party Advisory, VDB Entry, vdb-entry)
- www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html (Patch, Third Party Advisory)
- RHSA-2018:1449 (vendor-advisory, Third Party Advisory)
- RHSA-2018:1450 (vendor-advisory, Third Party Advisory)
- lists.apache.org/thread.html/b1d7e2425d6fd2cebed40d318f9365b44546077e10949b01b1…
- DSA-4281 (vendor-advisory, Third Party Advisory)
- RHSA-2018:2939 (vendor-advisory, Third Party Advisory)
- RHSA-2018:0465 (vendor-advisory, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.