CVE-2017-12615
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…
- 8.1HighCVSS base score
- 99.7%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 25 Mar 2022
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Apache Tomcat on Windows Remote Code Execution Vulnerability.
- Added
- 25 Mar 2022
- Fix due (US federal)
- 15 Apr 2022
- Used by ransomware
- Known
Apply updates per vendor instructions.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 25 Mar 2022.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Nuclei template and an Exploit-DB entry for it. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits3
Nuclei templates1 template
- Apache Tomcat Servers - Remote Code Execution (Nuclei template) (opens in a new tab)
http/cves/2017/CVE-2017-12615.yamlSeverity high
Exploit-DB1 entry
- Apache Tomcat < 9.0.1 (Beta) / < 8.5.23 / < 8.0.47 / < 7.0.8 - JSP Upload Bypass / Remote Code Execution (1) (Exploit-DB entry) (opens in a new tab)
EDB-ID 42953webapps, windowspublished 20 Sept 2017Not verified
References tagged exploit1 reference
- 42953 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By apache
- 43 days later
· 43 days later
Published
- 5 years later
· 5 years later
Added to CISA KEV
Known exploited, also by ransomware
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 99.7% · top 0.1% of all CVEs (10 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Affected products
Apache Software Foundation · Apache Tomcat
- affected 7.0.0 to 7.0.79
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.tomcat.embed:tomcat-embed-coreGHSA-pjfr-qf3p-3q25 (opens in a new tab)
References
20
- RHSA-2017:3113 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2017:3080 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 1039392 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- [announce] 20170919 [SECURITY] CVE-2017-12615 Apache Tomcat Remote Code Execution via JSP upload (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.synology.com/support/security/Synology_SA_17_54_Tomcat (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:0465 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://breaktoprotect.blogspot.com/2017/09/the-case-of-cve-2017-12615-tomcat-7-put.html (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2017:3114 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 100901 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- RHSA-2018:0466 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 42953 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- https://security.netapp.com/advisory/ntap-20171018-0001/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/breaktoprotect/CVE-2017-12615 (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2017:3081 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [tomcat-dev] 20190325 svn commit: r1856174 [22/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190413 svn commit: r1857494 [16/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190415 svn commit: r1857582 [17/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [announce] 20200131 Apache Software Foundation Security Report: 2019 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12615 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-0654 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-pjfr-qf3p-3q25 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2017-12615)Record last updated .