CVE-2018-1304

NameCVE-2018-1304
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1301-1
NVD severitymedium (attack range: remote)
Debian Bugs802312

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tomcat7 (PTS)jessie (security), jessie7.0.56-3+deb8u11vulnerable
stretch7.0.75-1fixed
buster, sid7.0.78-1fixed
tomcat8 (PTS)jessie (security), jessie8.0.14-1+deb8u11vulnerable
stretch (security), stretch8.5.14-1+deb9u2vulnerable
buster, sid8.5.31-1fixed
tomcat8.0 (PTS)sid8.0.46-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tomcat7source(unstable)7.0.72-3medium
tomcat7sourcewheezy7.0.28-4+deb7u18mediumDLA-1301-1
tomcat8source(unstable)8.5.28-1medium
tomcat8.0source(unstable)(unfixed)unimportant
tomcat9ITP802312

Notes

tomcat8.0 builds only tomcat8.0-user and libtomcat8.0-java
Since 7.0.72-3, src:tomcat7 only builds the Servlet API
https://svn.apache.org/r1823307 (8.5.x)
https://svn.apache.org/r1823308 (8.0.x)
https://svn.apache.org/r1823309 (7.0.x)
https://bz.apache.org/bugzilla/show_bug.cgi?id=62067

Search for package or bug name: Reporting problems