CVE-2017-12615: Apache Tomcat on Windows Remote Code Execution
Apache Tomcat · listed in the CISA catalog of actively exploited vulnerabilities since 2022-03-25.
- CVSS v3.1 (CISA ADP)
- 8.1
- high
- EPSS (exploit probability, 30 days)
- 99.7%
- among the highest 0.1% of all CVEs
- Added to CISA KEV
- 2022-03-25
- US federal due date 2022-04-15
- Automatable (CISA SSVC)
- no
- technical impact: total
CVE-2017-12615 explained
CVE-2017-12615 is a remote code execution vulnerability in Apache Tomcat running on Windows with HTTP PUTs enabled. A specially crafted request can upload a JSP file that the server then executes. CISA lists it as known exploited, including in ransomware campaigns, so affected servers need prompt attention.
Impact
An unauthenticated attacker with network access can upload a JSP file and have the server run its code. This requires Tomcat on Windows with HTTP PUTs enabled, for example with the Default servlet's readonly parameter set to false. Attack complexity is high and CISA rates it not automatable. A successful attack gives total control of the affected component, with high impact on confidentiality, integrity and availability. Attackers are known to use it, including in ransomware.
Who is affected
The CVE record lists Apache Software Foundation Apache Tomcat 7.0.0 to 7.0.79 as affected, described in free text. Exposure requires running on Windows with HTTP PUTs enabled. The CVE record names no fixed version. Check the Apache vendor advisory for the release that contains the fix.
Written with AI from the data on this page and checked against it automatically.
Official 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.
CISA required action: Apply updates per vendor instructions.
CISA notes
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- Apache Software Foundation Apache TomcatAffectedFixed in
- 7.0.0 to 7.0.79
not statedVersion statement as published by the CNA (free text).
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache TomcatVersion statement as published by the CNA (free text). |
| not stated |
How to fix it
- The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
- Vendor advisory: lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9…
- CISA's deadline for US federal agencies: 2022-04-15 (passed) – a useful benchmark for everyone else, too.
What to do
- Apply updates per the Apache vendor instructions, as CISA requires.
- Identify Tomcat
7.0.0 to 7.0.79instances running on Windows. - Make sure HTTP PUTs are disabled by keeping the Default servlet's readonly parameter set to true.
- Restrict network access to Tomcat servers that do not need to be reachable from the internet.
- Check web application directories for unexpected JSP files and review logs for unusual PUT requests.
The CVE record names no fixed version. Follow the Apache vendor advisory to find the corrected release and apply it, as CISA's required action says to apply updates per vendor instructions. Until then, keep HTTP PUTs disabled by leaving the readonly parameter set to true, limit network exposure, and look for unexpected JSP files.
Written with AI from the data on this page and checked against it automatically.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-434 Unrestricted Upload of File with Dangerous Type
Questions about CVE-2017-12615
- Is my Tomcat server affected if HTTP PUTs are disabled?
- The description says the issue applies when Tomcat runs on Windows with HTTP PUTs enabled, for example with the Default servlet's readonly parameter set to false. Servers with that parameter left at true are not covered by the described conditions. You should still update.
- Is this vulnerability being exploited?
- Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-03-25 and notes known use in ransomware campaigns. The due date for US federal agencies was 2022-04-15.
- Does it affect Tomcat on other operating systems?
- The description refers only to Apache Tomcat running on Windows with HTTP PUTs enabled.
Written with AI from the data on this page and checked against it automatically.
References
Vendor
- [announce] 20170919 [SECURITY] CVE-2017-12615 Apache Tomcat Remote Code Execution via JSP upload
- [tomcat-dev] 20190325 svn commit: r1856174 [22/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/
- [tomcat-dev] 20190413 svn commit: r1857494 [16/20] - in /tomcat/site/trunk: ./ docs/ xdocs/
- [tomcat-dev] 20190415 svn commit: r1857582 [17/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/
- [announce] 20200131 Apache Software Foundation Security Report: 2019
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/
Other advisories
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.