CVEs / CVE-2017-12615
CVE-2017-12615: Apache Tomcat on Windows Remote Code Execution Vulnerability
- Known exploited in the CISA KEV catalog since 25 Mar 2022
- high 8.1 CVSS 3.1 (NVD)
- EPSS 99.7% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2017-12615
Summary
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.
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache Tomcat | 7.0.0 to 7.0.79 | — |
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.tomcat.embed:tomcat-embed-core (Maven) | from 7.0.0, before 7.0.79 | 7.0.79 |
Package versions from GHSA-pjfr-qf3p-3q25.
Exploitation
| In CISA KEV since | 25 Mar 2022 |
|---|---|
| Due date for US federal agencies | 15 Apr 2022 |
| Used in ransomware campaigns | Known |
| Required action | Apply updates per vendor instructions. |
Severity
| CVSS 3.1 | 8.1 highCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-434 |
References
- CVE-2017-12615 on NVD
- CVE-2017-12615 in the CISA KEV catalog
- CVE-2017-12615 on OSV
- http://breaktoprotect.blogspot.com/2017/09/the-case-of-cve-2017-12615-tomcat-7-put.html Exploit
- http://www.securityfocus.com/bid/100901 Broken Link, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039392 Broken Link, Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:3080 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3081 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3113 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3114 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0465 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0466 Third Party Advisory
- https://github.com/breaktoprotect/CVE-2017-12615 Exploit, Third Party Advisory
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E Mailing List, Patch
- https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E Mailing List, Patch
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E Mailing List, Patch
- https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c%40%3Cannounce.tomcat.apache.org%3E Issue Tracking, Mailing List
- https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E Mailing List
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E Mailing List, Patch
- https://security.netapp.com/advisory/ntap-20171018-0001/ Third Party Advisory
- https://www.exploit-db.com/exploits/42953/ Third Party Advisory, VDB Entry
- https://www.synology.com/support/security/Synology_SA_17_54_Tomcat Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12615 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.