Original 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.
Affected software
- Tomcat ≥ 7.0.0 ≤ 7.0.84≥ 8.5.0 ≤ 8.5.27≥ 9.0.0 ≤ 9.0.4= 9.0.0≥ 8.0.0 ≤ 8.0.49= 8.0.0 exact match
Details
- Published
- 2018-03-01
- Last modified
- 2026-10-16
- CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N- EPSS (30-day exploit probability)
- 17.07% (percentile 97)
References
- cve.org/CVE-2018-1304
- nvd.nist.gov/vuln/detail/CVE-2018-1304
- access.redhat.com/errata/RHSA-2018:1448
- security.netapp.com/advisory/ntap-20180706-0001/
- www.securityfocus.com/bid/103170
- www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- access.redhat.com/errata/RHSA-2018:1449
- access.redhat.com/errata/RHSA-2018:1450
- lists.apache.org/thread.html/b1d7e2425d6fd2cebed40d318f9365b44546077e10949b01b1f8a0fb%40%3...
- www.debian.org/security/2018/dsa-4281
- access.redhat.com/errata/RHSA-2018:2939
- access.redhat.com/errata/RHSA-2018:0465
- usn.ubuntu.com/3665-1/
- www.securitytracker.com/id/1040427
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.