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 bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1166-1
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tomcat7 (PTS)jessie7.0.56-3+deb8u11fixed
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+deb8u11fixed
jessie (security)8.0.14-1+deb8u13fixed
stretch8.5.14-1+deb9u2fixed
stretch (security)8.5.14-1+deb9u3fixed
buster, sid8.5.34-1fixed
tomcat8.0 (PTS)sid8.0.46-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tomcat7source(unstable)(not affected)
tomcat7sourcewheezy7.0.28-4+deb7u16mediumDLA-1166-1
tomcat8source(unstable)(not affected)
tomcat8.0source(unstable)(not affected)

Notes

- tomcat8 <not-affected> (Specific to running Tomcat on Windows)
- tomcat8.0 <not-affected> (Specific to running Tomcat on Windows)
- tomcat7 <not-affected> (Specific to running Tomcat on Windows)
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