CVE-2018-1305

NameCVE-2018-1305
DescriptionSecurity constraints defined by annotations of Servlets 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 were only applied once a Servlet had been loaded. Because security constraints defined in this way apply to the URL pattern and any URLs below that point, it was possible - depending on the order Servlets were loaded - for some security constraints not to be applied. This could have exposed resources to users who were not authorised to access them.
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, DLA-1400-1, DLA-1450-1
NVD severitymedium (attack range: remote)
Debian Bugs802312

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tomcat7 (PTS)jessie7.0.56-3+deb8u11vulnerable
jessie (security)7.0.56-3+really7.0.90-1fixed
stretch7.0.75-1fixed
buster, sid7.0.78-1fixed
tomcat8 (PTS)jessie8.0.14-1+deb8u11vulnerable
jessie (security)8.0.14-1+deb8u12fixed
stretch (security), stretch8.5.14-1+deb9u2vulnerable
buster, sid8.5.32-2fixed
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
tomcat7sourcejessie7.0.56-3+really7.0.88-1mediumDLA-1400-1
tomcat7sourcewheezy7.0.28-4+deb7u18mediumDLA-1301-1
tomcat8source(unstable)8.5.28-1medium
tomcat8sourcejessie8.0.14-1+deb8u12mediumDLA-1450-1
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/r1823314 (8.5.x)
https://svn.apache.org/r1824358 (8.5.x)
https://svn.apache.org/r1823319 (8.0.x)
https://svn.apache.org/r1824359 (8.0.x)
https://svn.apache.org/r1823322 (7.0.x)
https://svn.apache.org/r1824360 (7.0.x)

Search for package or bug name: Reporting problems