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…
- Published
- Updated
- Reserved
- Assigned by
- apache
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 17.1% · top 2.9% of all CVEs (4 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Weakness
- Information Disclosure
Affected products
Apache Software Foundation · Apache Tomcat
- affected 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
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.tomcat.embed:tomcat-embed-coreGHSA-6rxj-58jh-436r (opens in a new tab)
References (40)
- RHSA-2018:1448 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://security.netapp.com/advisory/ntap-20180706-0001/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- 103170 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:1449 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:1450 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://lists.apache.org/thread.html/b1d7e2425d6fd2cebed40d318f9365b44546077e10949b01b1f8a0fb%40%3Cannounce.tomcat.apache.org%3E (opens in a new tab)x_refsource_MISCx_transferred
- DSA-4281 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- RHSA-2018:2939 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:0465 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-3665-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 1040427 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- RHSA-2018:1320 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:1451 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [debian-lts-announce] 20180306 [SECURITY] [DLA 1301-1] tomcat7 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- [debian-lts-announce] 20180729 [SECURITY] [DLA 1450-1] tomcat8 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2018:0466 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:1447 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [debian-lts-announce] 20180627 [SECURITY] [DLA 1400-1] tomcat7 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190319 svn commit: r1855831 [24/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190319 svn commit: r1855831 [25/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190325 svn commit: r1856174 [22/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190325 svn commit: r1856174 [23/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190325 svn commit: r1856174 [24/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190413 svn commit: r1857494 [17/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190413 svn commit: r1857496 [3/4] - in /tomcat/site/trunk: ./ docs/ xdocs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190413 svn commit: r1857494 [16/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190415 svn commit: r1857582 [18/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190415 svn commit: r1857582 [17/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190415 svn commit: r1857582 [19/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2019:2205 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [tomcat-dev] 20200203 svn commit: r1873527 [24/30] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20200203 svn commit: r1873527 [25/30] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20200213 svn commit: r1873980 [28/34] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20200213 svn commit: r1873980 [29/34] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpuapr2020.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-6rxj-58jh-436r (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-1304)Record last updated .