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.

EPSS: 0.174 (96.8th percentile) — read the EPSS interpretation.

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.

Affected products

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-1304?
CVE-2018-1304 is a medium-severity vulnerability in Apache Tomcat. CVSS score: 5.9/10. Published 2018-02-28.
How severe is CVE-2018-1304?
Medium severity. CVSS v3 base score is 5.9 out of 10.
Is CVE-2018-1304 known to be exploited?
10 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.