CVE-2017-12617

NameCVE-2017-12617
DescriptionWhen running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default servlet to false) it was possible to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1166-1
NVD severitymedium (attack range: remote)
Debian Bugs802312

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tomcat7 (PTS)wheezy7.0.28-4+deb7u4vulnerable
wheezy (security)7.0.28-4+deb7u17fixed
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
buster8.5.24-1fixed
sid8.5.24-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
tomcat7sourcewheezy7.0.28-4+deb7u16mediumDLA-1166-1
tomcat8source(unstable)8.5.23-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/r1809673 (8.5.x)
https://svn.apache.org/r1809675 (8.5.x)
https://svn.apache.org/r1809896 (8.5.x)
https://svn.apache.org/r1809921 (8.0.x)
https://svn.apache.org/r1809978 (7.0.x)
https://svn.apache.org/r1809992 (7.0.x)
https://svn.apache.org/r1810014 (7.0.x)
https://svn.apache.org/r1810026 (7.0.x)
https://bz.apache.org/bugzilla/show_bug.cgi?id=61542

Search for package or bug name: Reporting problems