CVE-2017-12615Apache Tomcat
Remote Code Execution in Apache Tomcat 7 on Windows with HTTP PUT enabled
High 8.1 KEVRansomware No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Tomcat We alert you by email or Slack (account required).
- Priority
- 89
- CVSS 3.1
- 8.1
- EPSS
- 99.7% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Mar 25, 2022
- CISA deadline
- Apr 15, 2022
- Ransomware use
- Confirmed
- Published
- Sep 19, 2017
- Updated
- Aug 6, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-434
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Apache Tomcat 7.0.0 to 7.0.79 on Windows allows unauthenticated attackers to upload JSP files via specially crafted HTTP PUT requests when the readonly parameter is disabled. The uploaded JSP code executes with server privileges, enabling remote code execution. CISA confirmed this vulnerability as actively exploited.
Show the original NVD text
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.
Exploitation confirmed by CISA
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.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 7.0.79
Update Apache Tomcat to version 7.0.80 or later, or disable HTTP PUT by setting readonly=true in the Default servlet configuration.
- Apply the vendor's security update for Tomcat.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was April 15, 2022.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 7.0.0 < 7.0.79 |
7.0.79 |
— |
Per OSV / GitHub Advisories (GHSA-pjfr-qf3p-3q25). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | tomcat | ≥ 7.0.0 ≤ 7.0.79 |
| netapp | 7-mode_transition_tool | all |
| netapp | oncommand_balance | all |
| netapp | oncommand_shift | all |
| redhat | enterprise_linux_server_update_services_for_sap_solutions | 7.4 |
| redhat | enterprise_linux_server_update_services_for_sap_solutions | 7.6 |
| redhat | enterprise_linux_server_update_services_for_sap_solutions | 7.7 |
| redhat | jboss_enterprise_web_server | 2.0.0 |
| redhat | jboss_enterprise_web_server | 3.0.0 |
| redhat | jboss_enterprise_web_server_text-only_advisories | all |
| redhat | enterprise_linux_desktop | 6.0 |
| redhat | enterprise_linux_desktop | 7.0 |
| redhat | enterprise_linux_eus | 7.4 |
| redhat | enterprise_linux_eus | 7.5 |
| redhat | enterprise_linux_eus | 7.6 |
| redhat | enterprise_linux_eus | 7.7 |
| redhat | enterprise_linux_eus_compute_node | 7.4 |
| redhat | enterprise_linux_eus_compute_node | 7.5 |
| redhat | enterprise_linux_eus_compute_node | 7.6 |
| redhat | enterprise_linux_eus_compute_node | 7.7 |
| redhat | enterprise_linux_for_ibm_z_systems | 7.0_s390x |
| redhat | enterprise_linux_for_ibm_z_systems_eus | 7.4_s390x |
| redhat | enterprise_linux_for_ibm_z_systems_eus | 7.5_s390x |
| redhat | enterprise_linux_for_ibm_z_systems_eus | 7.6_s390x |
| redhat | enterprise_linux_for_ibm_z_systems_eus | 7.7_s390x |
| redhat | enterprise_linux_for_power_big_endian | 7.0_ppc64 |
| redhat | enterprise_linux_for_power_big_endian_eus | 7.4_ppc64 |
| redhat | enterprise_linux_for_power_big_endian_eus | 7.5_ppc64 |
| redhat | enterprise_linux_for_power_big_endian_eus | 7.6_ppc64 |
| redhat | enterprise_linux_for_power_big_endian_eus | 7.7_ppc64 |
| redhat | enterprise_linux_for_power_little_endian | 7.0_ppc64le |
| redhat | enterprise_linux_for_power_little_endian_eus | 7.4_ppc64le |
| redhat | enterprise_linux_for_power_little_endian_eus | 7.5_ppc64le |
| redhat | enterprise_linux_for_power_little_endian_eus | 7.6_ppc64le |
| redhat | enterprise_linux_for_power_little_endian_eus | 7.7_ppc64le |
| redhat | enterprise_linux_for_scientific_computing | 7.0 |
| redhat | enterprise_linux_server | 6.0 |
| redhat | enterprise_linux_server | 7.0 |
| redhat | enterprise_linux_server_aus | 7.4 |
| redhat | enterprise_linux_server_aus | 7.6 |
| redhat | enterprise_linux_server_aus | 7.7 |
| redhat | enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 7.4_ppc64le |
| redhat | enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 7.6_ppc64le |
| redhat | enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 7.7_ppc64le |
| redhat | enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 9.2_ppc64le |
| redhat | enterprise_linux_server_tus | 7.4 |
| redhat | enterprise_linux_server_tus | 7.6 |
| redhat | enterprise_linux_server_tus | 7.7 |
| redhat | enterprise_linux_workstation | 6.0 |
| redhat | enterprise_linux_workstation | 7.0 |
Official sources
References
Links published by the sources. Open them with care.
- breaktoprotect.blogspot.com Exploit
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- github.com Exploit Third Party Advisory
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List Patch
- lists.apache.org Issue Tracking Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List Patch
- security.netapp.com Third Party Advisory
- www.exploit-db.com Third Party Advisory VDB Entry
- www.synology.com Third Party Advisory
- www.cisa.gov US Government Resource