CVE-2018-1304
EU Vulnerability Database: EUVD-2018-0522
Description
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.
Severity
CVSS 3.x
5.9
- Exploitability
- 2.2
- Impact
- 3.6
- AV:N
- AC:H
- PR:N
- UI:N
- S:U
- C:H
- I:N
- A:N
CVSS 2.0
4.3
- Exploitability
- 8.6
- Impact
- 2.9
- AV:N
- AC:M
- Au:N
- C:P
- I:N
- A:N
Weakness Enumeration
NVD-CWE-noinfo
Change History
Last Modified: Oct 15, 2026
Known Affected Software Configurations
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:8.0.0:rc1:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:9.0.0:milestone10:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:9.0.0:milestone11:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:9.0.0:milestone12:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:9.0.0:milestone13:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:9.0.0:milestone14:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:9.0.0:milestone15:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:9.0.0:milestone16:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:9.0.0:milestone17:*:*:*:*:*:*
References to Advisories, Solutions, and Tools
[security@apache.org] Patch, Third Party Advisory
[security@apache.org] Patch, Third Party Advisory
[security@apache.org] Third Party Advisory, VDB Entry
[security@apache.org] Third Party Advisory, VDB Entry
[security@apache.org] Third Party Advisory
[security@apache.org] Third Party Advisory
[security@apache.org] Third Party Advisory
[security@apache.org] Third Party Advisory