# CVE-2017-12615: When running Apache Tomcat on Windows with HTTP PUTs enabled it was possible to upload a JSP file to the server

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **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
- **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 exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 99.71% (percentile 100, 2026-11-26)
- **CWE:** CWE-434
- **Aliases:** EDB-42953, GHSA-pjfr-qf3p-3q25
- **Published:** 2017-09-19T13:00:00.000Z
- **Modified:** 2026-08-06T05:16:34.690Z

## 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

## 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

- Maven `org.apache.tomcat.embed:tomcat-embed-core`: affected \>= 7.0.0, \< 7.0.79; fixed 7.0.79 (osv)
- Apache Software Foundation Apache Tomcat: 7.0.0 to 7.0.79 (cvelist)

## Mitigation

- Upgrade org.apache.tomcat.embed:tomcat-embed-core to 7.0.79 or later.

## 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 a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2017:3113>
- vendor: <https://access.redhat.com/errata/RHSA-2017:3080>
- vendor: <https://access.redhat.com/errata/RHSA-2018:0465>
- vendor: <https://access.redhat.com/errata/RHSA-2017:3114>
- vendor: <https://access.redhat.com/errata/RHSA-2018:0466>
- vendor: <https://access.redhat.com/errata/RHSA-2017:3081>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2017-12615>
- vendor: <https://github.com/advisories/GHSA-pjfr-qf3p-3q25>
- patch: <https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E>
- patch: <https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E>
- patch: <https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E>
- patch: <https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E>
- exploit: <http://breaktoprotect.blogspot.com/2017/09/the-case-of-cve-2017-12615-tomcat-7-put.html>
- exploit: <https://www.exploit-db.com/exploits/42953/>
- exploit: <https://github.com/breaktoprotect/CVE-2017-12615>
- exploit: <https://www.exploit-db.com/exploits/42953>
- other: <http://www.securitytracker.com/id/1039392>
- other: <https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c%40%3Cannounce.tomcat.apache.org%3E>
- other: <https://www.synology.com/support/security/Synology_SA_17_54_Tomcat>
- other: <http://www.securityfocus.com/bid/100901>
- other: <https://security.netapp.com/advisory/ntap-20171018-0001/>
- other: <https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12615>
- other: <https://security.netapp.com/advisory/ntap-20171018-0001>
- other: <https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c@%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c@%3Cannounce.apache.org%3E>
- other: <https://lists.apache.org/thread.html/8fcb1e2d5895413abcf266f011b9918ae03e0b7daceb118ffbf23f8c@%3Cannounce.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424@%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7@%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708@%3Cdev.tomcat.apache.org%3E>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2017-12615>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-pjfr-qf3p-3q25> (license: <https://creativecommons.org/licenses/by/4.0/>)
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/42953>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2017-12615> · JSON: <https://flawdb.com/api/v1/entries/CVE-2017-12615>
