Actively exploited vulnerability / CVE-2017-12615
Apache Tomcat on Windows: an attacker can run their own code on the server
This vulnerability lets an attacker upload a file to an Apache Tomcat server running on Windows and then have the server execute the code inside it. That can give them control of the web application, access to your data, and a foothold for further attacks on your network. It only applies when a setting that allows file uploads through HTTP PUT has been enabled, which is not the default. It is on the lists of vulnerabilities used in real attacks kept by CISA (the US cybersecurity agency) and by ENISA (the EU cybersecurity agency).
- Identifier
- CVE-2017-12615 · EUVD-2018-0654
- Severity
- High (8.1/10)
- On the CISA list (US)
- yes, since 25 March 2022
- Deadline given to US federal agencies
- 15 April 2022
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 99.7% (FIRST's estimate for the next 30 days)
Does it concern you?
Apache Tomcat is a server that runs Java web applications, such as internal portals, business applications or custom-built websites. You may have it if your company hosts web applications on its own Windows servers.
Apache Tomcat versions 7.0.0 through 7.0.79 running on Windows are affected. Ask whoever manages your servers which Tomcat version you run and whether file uploads via HTTP PUT are enabled.
Affected products and versions
- Apache Tomcat
- tomcat: from 7.0.0 up to and including 7.0.79
What to do
Install the latest Tomcat update from Apache, following the vendor's instructions. Until then, have your administrator make sure HTTP PUT uploads are disabled.
The official description
The text below is the description from the public database.
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.
Sources
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.