~ / search / GHSA-xjgh-84hx-56c5

GHSA-xjgh-84hx-56c5

Unrestricted Upload of File with Dangerous Type Apache Tomcat

Source: GitHub Advisory Database (reviewed) High CVE-2017-12617

Packages

EcosystemPackageAffectedFixed in
Maven org.apache.tomcat:tomcat-catalina >= 9.0.0.M1, < 9.0.1 9.0.1
Maven org.apache.tomcat:tomcat-catalina >= 8.5.0, < 8.5.23 8.5.23
Maven org.apache.tomcat:tomcat-catalina >= 8.0.0-RC1, < 8.0.47 8.0.47
Maven org.apache.tomcat:tomcat-catalina >= 7.0.0, < 7.0.82 7.0.82
Maven org.apache.tomcat.embed:tomcat-embed-core >= 9.0.0.M1, < 9.0.1 9.0.1
Maven org.apache.tomcat.embed:tomcat-embed-core >= 8.5.0, < 8.5.23 8.5.23
Maven org.apache.tomcat.embed:tomcat-embed-core >= 8.0.0-RC1, < 8.0.47 8.0.47
Maven org.apache.tomcat.embed:tomcat-embed-core >= 7.0.0, < 7.0.82 7.0.82

Details

As written in the advisory (Markdown source, shown as plain text).

When 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.

References

External links from the advisory. They lead to third-party sites.