Apache Tomcat 9.0.0.M1 < 9.0.1 Remote Code Execution via JSP Upload
Medium Web Application Scanning Plugin ID 112294
SynopsisApache Tomcat 9.0.0.M1 < 9.0.1 Remote Code Execution via JSP Upload
DescriptionThe version of Apache Tomcat installed on the remote host is 9.0.0.M1 or later but prior to 9.0.1. It is, therefore, affected by an unspecified vulnerability when running with HTTP PUTs enabled (e.g. via setting the readonly initialization parameter of the Default to false) that makes it 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.
Note that the scanner has not attempted to exploit this issue but has instead relied only on the application's self-reported version number.
SolutionUpgrade to Apache Tomcat version 9.0.1 or later.