CVE-2017-12615
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.
Severity
HIGH
CVSS v3
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
99.707%
chance of exploitation in the next 30 days
among the highest of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-03-25 · known ransomware use
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 0
Nuclei templates: 1
Exploit-DB: 1
Weakness
- CWE-434: Unrestricted Upload of File with Dangerous Type
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Apache Tomcat on Windows Remote Code Execution Vulnerability |
|---|---|
| Vendor / product | Apache / Tomcat |
| Date added | 2022-03-25 |
| Federal remediation due date | 2022-04-15 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Known |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2022-03-11 |
Timeline
- 2017-09-19Published by the CNA13:00 UTC
- 2017-09-20First Exploit-DB entry (EDB-ID 42953)1 day after publication
- 2018-10-17GitHub advisory published (GHSA-pjfr-qf3p-3q25)393 days after publication
- 2022-03-11CISA SSVC decision recorded1634 days after publication
- 2022-03-25Added to the CISA KEV catalog1648 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 42953 | webapps | windows | 2017-09-20 | no |
Nuclei templates:
- CVE-2017-12615: Apache Tomcat Servers - Remote Code Execution
GitHub advisory GHSA-pjfr-qf3p-3q25, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.apache.tomcat.embed:tomcat-embed-core | from 7.0.0 before 7.0.79 | 7.0.79 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| apache tomcat | from 7.0.0 through 7.0.79no fix listed | not listed |
| netapp 7-mode_transition_tool | ||
| netapp oncommand_balance | ||
| netapp oncommand_shift | ||
| redhat enterprise_linux_desktop | 6.0no fix listed7.0no fix listed | not listednot listed |
| redhat enterprise_linux_eus | 7.4no fix listed7.5no fix listed7.6no fix listed7.7no fix listed | not listednot listednot listednot listed |
| redhat enterprise_linux_eus_compute_node | 7.4no fix listed7.5no fix listed7.6no fix listed7.7no fix listed | not listednot listednot listednot listed |
| redhat enterprise_linux_for_ibm_z_systems | 7.0_s390xno fix listed | not listed |
| redhat enterprise_linux_for_ibm_z_systems_eus | 7.4_s390xno fix listed7.5_s390xno fix listed7.6_s390xno fix listed7.7_s390xno fix listed | not listednot listednot listednot listed |
| redhat enterprise_linux_for_power_big_endian | 7.0_ppc64no fix listed | not listed |
| redhat enterprise_linux_for_power_big_endian_eus | 7.4_ppc64no fix listed7.5_ppc64no fix listed7.6_ppc64no fix listed7.7_ppc64no fix listed | not listednot listednot listednot listed |
| redhat enterprise_linux_for_power_little_endian | 7.0_ppc64leno fix listed | not listed |
| redhat enterprise_linux_for_power_little_endian_eus | 7.4_ppc64leno fix listed7.5_ppc64leno fix listed7.6_ppc64leno fix listed7.7_ppc64leno fix listed | not listednot listednot listednot listed |
| redhat enterprise_linux_for_scientific_computing | 7.0no fix listed | not listed |
| redhat enterprise_linux_server | 6.0no fix listed7.0no fix listed | not listednot listed |
| redhat enterprise_linux_server_aus | 7.4no fix listed7.6no fix listed7.7no fix listed | not listednot listednot listed |
| redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 7.4_ppc64leno fix listed7.6_ppc64leno fix listed7.7_ppc64leno fix listed9.2_ppc64leno fix listed | not listednot listednot listednot listed |
| redhat enterprise_linux_server_tus | 7.4no fix listed7.6no fix listed7.7no fix listed | not listednot listednot listed |
| redhat enterprise_linux_server_update_services_for_sap_solutions | 7.4no fix listed7.6no fix listed7.7no fix listed | not listednot listednot listed |
| redhat enterprise_linux_workstation | 6.0no fix listed7.0no fix listed | not listednot listed |
References
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
- https://access.redhat.com/errata/RHSA-2017:3080
- https://access.redhat.com/errata/RHSA-2017:3081
- https://access.redhat.com/errata/RHSA-2017:3113
- https://access.redhat.com/errata/RHSA-2017:3114
- https://access.redhat.com/errata/RHSA-2018:0465
- https://access.redhat.com/errata/RHSA-2018:0466
- http://breaktoprotect.blogspot.com/2017/09/the-case-of-cve-2017-12615-tomcat-7-put.html
- https://github.com/breaktoprotect/CVE-2017-12615
- https://www.exploit-db.com/exploits/42953/
- http://www.securityfocus.com/bid/100901
- http://www.securitytracker.com/id/1039392
- https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c%40%3Cannounce.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E
- https://security.netapp.com/advisory/ntap-20171018-0001/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12615
- https://www.synology.com/support/security/Synology_SA_17_54_Tomcat
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2017-12615'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2017-12615'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2017-12615'curl 'https://api.contrastcyber.com/cve_products/CVE-2017-12615'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2017-12615'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).