Tomcat security constraint bypass with empty URL pattern
Apache Software Foundation Apache Tomcat
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 17.07%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Apache Software Foundation | Apache Tomcat | Affected 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.84Show full version range for Apache Tomcat |
| Vendor:Red Hat | Red Hat Enterprise Linux Client (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Client Optional (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux ComputeNode (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Server (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Server Optional (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Workstation (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Workstation Optional (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Fuse Intergration Services 2.0 based on Fuse 6.3 R8 | Affected versions:Source does not specify a version range |
1–10 of 57 · Page 1 of 6
CVSS scores and metrics5
[email protected] · NVD (Primary)Primary5.9 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NCVE-2018-1304 · OSV (source-vector)5.9 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NRed Hat · Red Hat VEX (adp)6.5 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NSUSE · SUSE VEX (adp)4.8 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N[email protected] · NVD (Primary)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:N/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories47
- CVE List / CNA
- NVD
- OSV
- ENISA EUVD
- Red Hat VEX
- SUSE VEX
- FIRST EPSS
- oracle.com
- oracle.com
- oracle.com
- debian.org
- oracle.com
- securityfocus.com
- security.netapp.com
- securitytracker.com
- oracle.com
- lists.apache.org
- lists.apache.org
- lists.debian.org
- access.redhat.com
- access.redhat.com
- lists.debian.org
- lists.debian.org
- access.redhat.com
- access.redhat.com
- lists.apache.org
- access.redhat.com
- access.redhat.com
- lists.apache.org
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- usn.ubuntu.com
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences