CVE-2017-12615
When running Apache Tomcat on Windows with HTTP PUTs enabled it was possible to upload a JSP file to the server
Also known as EDB-42953, GHSA-pjfr-qf3p-3q25
Mitigation
- Upgrade org.apache.tomcat.embed:tomcat-embed-core to 7.0.79 or later.
Who should check
- Projects that depend on Maven package org.apache.tomcat.embed:tomcat-embed-core (>= 7.0.0, < 7.0.79)
- Anyone running Apache Software Foundation Apache Tomcat 7.0.0 to 7.0.79
Vulnerability facts
- Affected
- org.apache.tomcat.embed:tomcat-embed-core >= 7.0.0, < 7.0.79
- Fixed in
- 7.0.79
- Exploited in the wild
- Yes: in CISA KEV since 2022-03-25; federal due date 2022-04-15; known ransomware use
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 99.71% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-434
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.tomcat.embed:tomcat-embed-core | >= 7.0.0, < 7.0.79 | 7.0.79 | osv |
| Apache Software Foundation Apache Tomcat | 7.0.0 to 7.0.79 | — | cvelist |
Timeline
- 2017-09-19 Published
- 2022-03-25 Added to CISA KEV (exploited in the wild)
- 2022-04-15 CISA remediation due date for US federal agencies
- 2026-08-06 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2017-12615. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2017-12615.md Affected: org.apache.tomcat.embed:tomcat-embed-core >= 7.0.0, < 7.0.79 Fixed in: 7.0.79 Steps: 1. Search this machine and project for org.apache.tomcat.embed:tomcat-embed-core (Maven), Apache Software Foundation Apache Tomcat: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://access.redhat.com/errata/RHSA-2017:3113
- https://access.redhat.com/errata/RHSA-2017:3080
- https://access.redhat.com/errata/RHSA-2018:0465
- https://access.redhat.com/errata/RHSA-2017:3114
- https://access.redhat.com/errata/RHSA-2018:0466
- https://access.redhat.com/errata/RHSA-2017:3081
- https://nvd.nist.gov/vuln/detail/CVE-2017-12615
- https://github.com/advisories/GHSA-pjfr-qf3p-3q25
Patches
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%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/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
Exploits and PoCs
Other
- http://www.securitytracker.com/id/1039392
- https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c%40%3Cannounce.tomcat.apache.org%3E
- https://www.synology.com/support/security/Synology_SA_17_54_Tomcat
- http://www.securityfocus.com/bid/100901
- https://security.netapp.com/advisory/ntap-20171018-0001/
- https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12615
- https://security.netapp.com/advisory/ntap-20171018-0001
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c@%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c@%3Cannounce.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708@%3Cdev.tomcat.apache.org%3E
FAQ
Is CVE-2017-12615 being exploited?
Yes. CISA lists CVE-2017-12615 in its Known Exploited Vulnerabilities catalog since 2022-03-25, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 99.71% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2017-12615?
High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2017-12615?
org.apache.tomcat.embed:tomcat-embed-core >= 7.0.0, < 7.0.79.
Is there a fix for CVE-2017-12615?
Yes. Fixed in 7.0.79. Upgrade org.apache.tomcat.embed:tomcat-embed-core to 7.0.79 or later.
How do I check if I'm affected by CVE-2017-12615?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.