patchminder
Exploited in the wild · CISA KEV Used by ransomware CVE-2017-12615

Unrestricted file uploadin Apache Tomcat.

Published 19 Sep 2017 · Updated 6 Aug 2026 · Every fact sourced

JSONCite
Is it exploited?
Yes

On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 25 Mar 2022. Ransomware groups use it too.

On CISA's listKnown ransomware useAttack code is public
Severity
High 8.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 99.7% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 7.0.79 or later
In plain words

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: When running Apache Tomcat on Windows with HTTP PUTs enabled, it is 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.

What to do now
  • Upgrade org.apache.tomcat.embed:tomcat-embed-core (Maven) to 7.0.79 or later.
  • CISA requires US federal agencies to fix it by 15 Apr 2022.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Apache Tomcat
7.0.0 to 7.0.79
Not confirmed
CVE record
org.apache.tomcat.embed:tomcat-embed-core (Maven)
7.0.0 to before 7.0.79
7.0.79
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 7 Aug 2017
    CVE ID reserved by apache.
  2. 19 Sep 2017
    Published in the CVE List.
  3. 23 Sep 2017
    First public proof of concept on GitHub.
  4. 25 Mar 2022
    Added to CISA's Known Exploited Vulnerabilities list.
  5. 25 Mar 2022
    CISA lists known use in ransomware campaigns.
  6. 6 Aug 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
1 entry
GitHub proof of concepts
21 repositories
Exploit-DBEDB-ID 42953web application exploit for windows, published 20 Sep 2017
GitHubno warning signs foundlizhianyuguangming/TomcatScanPro298 stars · created 29 Aug 2024tomcat自动化漏洞扫描利用工具,支持批量弱口令检测、后台部署war包getshell、CVE-2017-12615 文件上传、CVE-2020-1938/CNVD-2020-10487 文件包含
GitHubno warning signs foundtpt11fb/AttackTomcat258 stars · created 13 Nov 2022Tomcat常见漏洞GUI利用工具。CVE-2017-12615 PUT文件上传漏洞、tomcat-pass-getshell 弱认证部署war包、弱口令爆破、CVE-2020-1938 Tomcat AJP文件读取/包含
GitHubno warning signs foundbreaktoprotect/CVE-2017-12615111 stars · created 23 Sep 2017POC Exploit for Apache Tomcat 7.0.x CVE-2017-12615 PUT JSP vulnerability.
GitHubno warning signs foundxiaokp7/Tomcat_PUT_GUI_EXP11 stars · created 10 Mar 2023Tomcat PUT方法任意文件写入(CVE-2017-12615)exp
GitHubno warning signs foundmefulton/cve-2017-1261510 stars · created 25 Sep 2017just a python script for cve-2017-12615
GitHubno warning signs foundzi0Black/POC-CVE-2017-12615-or-CVE-2017-127175 stars · created 6 Oct 2017CVE-2017-12617 and CVE-2017-12615 for tomcat server
GitHubno warning signs found1337g/CVE-2017-126153 stars · created 26 Dec 2017CVE-2017-12615 Tomcat RCE (TESTED)
GitHubno warning signs foundwsg00d/cve-2017-126152 stars · created 1 Nov 2017tomcat-put-cve-2017-12615
GitHubno warning signs foundBeyondCy/CVE-2017-126151 stars · created 28 Nov 2017Tomcat 远程代码执行漏洞 Exploit
GitHubno warning signs foundianxtianxt/CVE-2017-126151 stars · created 20 Jan 2020CVE-2017-12615 批量脚本
Referencewww.exploit-db.comnamed as exploit in the CVE record

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Tomcat vulnerabilities

Same weakness: Unrestricted file upload

All CWE-434 vulnerabilities

References
Cite this page

Patchminder. CVE-2017-12615: Unrestricted file upload in Apache Tomcat. https://patchminder.com/cve/cve-2017-12615/ (accessed 5 December 2026).