CVE-2018-1304

unknown
Published 2018-10-17 · Modified 2024-11-29
CVSS v3
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v2
VIR risk

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2018-1304

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2018-1304.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed0
debian debianbullseyefixed0
debian debianforkyfixed0
debian debiansidfixed0
debian debiantrixiefixed0

Package impact

EcosystemPackageVulnerableFixed
java Mavenorg.apache.tomcat.embed:tomcat-embed-core>=9.0.0,<9.0.59.0.5
java Mavenorg.apache.tomcat.embed:tomcat-embed-core>=8.5.0,<8.5.288.5.28
java Mavenorg.apache.tomcat.embed:tomcat-embed-core>=8.0.0,<8.0.518.0.51
java Mavenorg.apache.tomcat.embed:tomcat-embed-core>=7.0.0,<7.0.867.0.86

References

Verify integrity in audit chain (admin only). AS-IS.