Apache Tomcat 8.5.x < 8.5.23 Remote Code Execution via JSP Upload
Medium Web Application Scanning Plugin ID 112300
SynopsisApache Tomcat 8.5.x < 8.5.23 Remote Code Execution via JSP Upload
DescriptionThe version of Apache Tomcat installed on the remote host is 8.5.x prior to 8.5.23. 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 8.5.23 or later.