When running Apache Tomcat on Windows with HTTP PUTs enabled it was possible to upload a JSP file to the server
Apache Software Foundation Apache Tomcat
Actively exploited in the wild
Added to CISA's Known Exploited Vulnerabilities catalog on Mar 25, 2022. US federal agencies must patch by Apr 15, 2022.
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.tomcat.embed:tomcat-embed-core Maven |
|
|
Original description
When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default 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.
From the CVE record · apache