CVE-2017-12615 in Apache Tomcat and 22 more products
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 execute...
Affects 23 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Tomcat | ≥ 7.0.0, ≤ 7.0.79 |
| Netapp | Oncommand Balance | No version listed by the source |
| Netapp | Oncommand Shift | No version listed by the source |
| Netapp | 7-Mode Transition Tool | No version listed by the source |
| Redhat | Enterprise Linux For Power Big Endian | 7.0_ppc64 |
| Redhat | Enterprise Linux Server Aus | 7.4 7.6 7.7 |
| Redhat | Jboss Enterprise Web Server | 2.0.0 3.0.0 |
| Redhat | Enterprise Linux For Scientific Computing | 7.0 |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 7.4_s390x 7.5_s390x 7.6_s390x 7.7_s390x |
| Redhat | Enterprise Linux For Power Big Endian Eus | 7.4_ppc64 7.5_ppc64 7.6_ppc64 7.7_ppc64 |
| Redhat | Enterprise Linux Desktop | 6.0 7.0 |
| Redhat | Enterprise Linux For Power Little Endian | 7.0_ppc64le |
| Redhat | Enterprise Linux For Power Little Endian Eus | 7.4_ppc64le 7.5_ppc64le 7.6_ppc64le 7.7_ppc64le |
| Redhat | Enterprise Linux Eus Compute Node | 7.4 7.5 7.6 7.7 |
| Redhat | Enterprise Linux Server Update Services For Sap Solutions | 7.4 7.6 7.7 |
| Redhat | Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions | 7.4_ppc64le 7.6_ppc64le 7.7_ppc64le 9.2_ppc64le |
| Redhat | Jboss Enterprise Web Server Text-Only Advisories | No version listed by the source |
| Redhat | Enterprise Linux Server Tus | 7.4 7.6 7.7 |
| Redhat | Enterprise Linux Server | 6.0 7.0 |
| Redhat | Enterprise Linux Workstation | 6.0 7.0 |
| Redhat | Enterprise Linux Eus | 7.4 7.5 7.6 7.7 |
| Redhat | Enterprise Linux For Ibm Z Systems | 7.0_s390x |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Microsoft Windows
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Yes added 2022-03-25 |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2017-12615 |
|---|---|
| BreachSpider ID | BS-2017-GLOBAL-198154-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2017-09-19 |
| Last modified | 2026-08-06 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-434: Unrestricted Upload of File with Dangerous Type
Application allows file uploads without validating type, enabling upload of executable code or web shells.
Related attack patterns (CAPEC)
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-434
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2017-12615 affects Apache Tomcat versions 7.0.0 to 7.0.79 when running on Windows with HTTP PUTs enabled. A specially crafted request can upload a JSP file, which can then be executed by the server, leading to remote code execution. The vulnerability has a CVSS score of 8.1 and is listed in the KEV catalog with a public proof of concept and known exploits. Immediate action is required to mitigate the risk of exploitation.
The attack vector involves sending a specially crafted HTTP PUT request to an Apache Tomcat server running on Windows with the 'readonly' initialization parameter set to false. This allows an attacker to upload a JSP file, which can then be executed by the server, leading to remote code execution. The attacker does not need authentication, and the attack can be performed over the network.
Compensating controls AI-drafted, review before use
Ensure that the 'readonly' initialization parameter of the DefaultServlet is set to true to prevent file uploads. Implement strict access controls and monitor for suspicious activity.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2017-12615?
CVE-2017-12615 affects Apache Tomcat versions 7.0.0 to 7.0.79 when running on Windows with HTTP PUTs enabled. A specially crafted request can upload a JSP file, which can then be executed by the server, leading to remote code execution. The vulnerability has a CVSS score of 8.1 and is listed in the KEV catalog with a public proof of concept and known exploits. Immediate action is required to mitigate the risk of exploitation.
What is the CVSS score for CVE-2017-12615?
CVE-2017-12615 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 99.7%.
Is CVE-2017-12615 actively exploited?
Yes. CVE-2017-12615 is in the CISA known-exploited catalog (added 2022-03-25). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2017-12615?
Priority: IMMEDIATE. Advisory: https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E
What systems are affected by CVE-2017-12615?
CVE-2017-12615 affects Apache Tomcat; Netapp Oncommand Balance, Oncommand Shift, 7-Mode Transition Tool; Redhat Enterprise Linux For Power Big Endian, Enterprise Linux Server Aus, Jboss Enterprise Web Server, Enterprise Linux For Scientific Computing, Enterprise Linux For Ibm Z Systems Eus, Enterprise Linux For Power Big Endian Eus (plus 12 more products).
What NERC-CIP standard applies to CVE-2017-12615?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to the control system, potentially leading to the execution of arbitrary code, which can compromise the integrity and availability of critical assets.
What IEC 62443 requirement maps to CVE-2017-12615?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited to gain unauthorized access to the system, which can lead to the execution of arbitrary code and compromise the security of the industrial control system.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Tomcat","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-08-06.