CVE-2017-12617: Apache Tomcat - Unrestricted File Upload
- Cve: CVE-2017-12617
- Name: Apache Tomcat - Unrestricted File Upload
- Description: When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default servlet 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 and execute malicious JSP files, leading to remote code execution and full server compromise.
- Remediation: Disable HTTP PUT or restrict file upload permissions, and update to the latest stable version.
- 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.99968
- Epss percentile: 0.99977
- Assignee: [email protected]
- Published at: 2017-10-04T01:29:02Z
- Age in days: 3337
- Modified at: 2026-08-25T16:28:27Z
- Patch available: yes
- Public exploits total: 29
- References total: 48
- Products total: 58
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-12617
- 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 | no |
| vulncheck | 2019-04-17 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2017-12617 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-12617.yaml |
Hackerone
- Reports: 19
- Rank: 670
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.exploit-db.com/exploits/42966/ | nvd | 2017-10-04 |
| https://www.exploit-db.com/exploits/43008/ | nvd | 2017-10-04 |
| https://github.com/DevaDJ/CVE-2017-12617 | poc-in-github | 2024-12-13 |
| https://github.com/DevaDJ/CVE-2017-12617.git | vulncheck-xdb | 2024-12-13 |
| https://github.com/yZee00/CVE-2017-12617 | poc-in-github | 2024-07-04 |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| apache:tomcat | >= 9.0.0, < 9.0.1; >= 8.5.0, < 8.5.23; >= 8.0, < 8.0.47; >= 7.0.0, < 7.0.82 | /v1/products/apache/tomcat |
| debian:debian_linux | = 7.0 | /v1/products/debian/debian_linux |
| canonical:ubuntu_linux | = 18.04, = 17.10, = 16.04, = 12.04 | /v1/products/canonical/ubuntu_linux |
| redhat:enterprise_linux_desktop | = 7.0, = 6.0 | /v1/products/redhat/enterprise_linux_desktop |
| redhat:enterprise_linux_server | = 7.0, = 6.0 | /v1/products/redhat/enterprise_linux_server |
| redhat:enterprise_linux_workstation | = 7.0, = 6.0 | /v1/products/redhat/enterprise_linux_workstation |
| redhat:enterprise_linux_server_aus | = 7.7, = 7.6, = 7.4 | /v1/products/redhat/enterprise_linux_server_aus |
| netapp:oncommand_insight | all versions | /v1/products/netapp/oncommand_insight |
| netapp:active_iq_unified_manager | >= 9.5, >= 7.3 | /v1/products/netapp/active_iq_unified_manager |
| redhat:enterprise_linux_eus | = 7.7, = 7.6, = 7.5, = 7.4 | /v1/products/redhat/enterprise_linux_eus |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/tomcat | commit, fix, package | yes | /v1/repositories/apache/tomcat |
Index
- Repositories: 73
- Repositories high signal: 43
- Packages: 2
Exploitation
- Known exploited: yes
- Known exploited since: 2022-03-25
- Known exploited by: cisa, vulncheck
- Vulncheck known exploited since: 2019-04-17
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 29
- Public exploit first date: 2017-10-03
- Remote: yes
- Hackerone reports: 19
- Exposed hosts: 21109361
- Checked, none or zero: initial access, authentication required
- Not known: initial access since