CVE-2017-12615: Apache Tomcat - Remote Code Execution
- Cve: CVE-2017-12615
- Name: Apache Tomcat - Remote Code Execution
- 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.
- Impact: Attackers can upload malicious JSP files and execute arbitrary code remotely, leading to full server compromise.
- Remediation: Disable the PUT method or implement strict upload checks and validation.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.99707
- Epss percentile: 0.99952
- Assignee: [email protected]
- Published at: 2017-09-19T13:29:00Z
- Age in days: 3352
- Modified at: 2026-08-06T05:16:34Z
- Patch available: yes
- Public exploits total: 33
- References total: 29
- Products total: 22
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-12615
- Nvd status: analyzed
- Checked, none or zero: public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| cisa | 2022-03-25 | 2022-04-15 | yes |
| vulncheck | 2019-01-08 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2017-12615 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-12615.yaml |
Hackerone
- Reports: 13
- Rank: 2055
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://breaktoprotect.blogspot.com/2017/09/the-case-of-cve-2017-12615-tomcat-7-put.html | nvd | 2017-09-19 |
| https://github.com/breaktoprotect/CVE-2017-12615 | nvd | 2017-09-19 |
| https://github.com/nouhaila2030/apache-tomcat-security-audit | poc-in-github | 2026-10-09 |
| https://github.com/nouhaila2030/apache-tomcat-security-audit.git | vulncheck-xdb | 2026-10-09 |
| https://github.com/CyberCTF/vulhub-tomcat-cve-2017-12615 | poc-in-github | 2026-10-08 |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Sources: nvd
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/tomcat | product | yes | /v1/repositories/apache/tomcat |
Index
- Repositories: 48
- Repositories high signal: 30
- Packages: 1
Exploitation
- Known exploited: yes
- Known exploited since: 2022-03-25
- Known exploited by: cisa, vulncheck
- Vulncheck known exploited since: 2019-01-08
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 33
- Public exploit first date: 2017-09-19
- Remote: yes
- Hackerone reports: 13
- Exposed hosts: 581224
- Checked, none or zero: initial access, authentication required
- Not known: initial access since