SecurityContext

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

IdName
CWE-434Unrestricted Upload of File with Dangerous Type

Known exploited entries

ListAdded dateDue dateRansomware use
cisa2022-03-252022-04-15no
vulncheck2019-04-17—no

Nuclei templates

IdUrl
CVE-2017-12617https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-12617.yaml

Hackerone

  • Reports: 19
  • Rank: 670

Public exploits

UrlSourceAdded date
https://www.exploit-db.com/exploits/42966/nvd2017-10-04
https://www.exploit-db.com/exploits/43008/nvd2017-10-04
https://github.com/DevaDJ/CVE-2017-12617poc-in-github2024-12-13
https://github.com/DevaDJ/CVE-2017-12617.gitvulncheck-xdb2024-12-13
https://github.com/yZee00/CVE-2017-12617poc-in-github2024-07-04

References

Same in every row:

  • Source: nvd
UrlTags
http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.htmlPatch, Third Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.htmlPatch, Third Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.htmlPatch, Third Party Advisory
https://lists.apache.org/thread.html/1dd0a59c1295cc08ce4c9e7edae5ad2268acc9ba55adcefa0532e5ba%40%3Cdev.tomcat.apache.org%3EMailing List, Patch
https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3EMailing List, Patch
https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3EMailing List, Patch
https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3EMailing List, Patch
https://lists.apache.org/thread.html/5c0e00fd31efc11e147bf99d0f03c00a734447d3b131ab0818644cdb%40%3Cdev.tomcat.apache.org%3EMailing List, Patch
https://lists.apache.org/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3%40%3Cdev.tomcat.apache.org%3EMailing List, Patch
https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3EMailing List, Patch

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
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_insightall 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

RepositoryLink kindsIndexedUrl
apache/tomcatcommit, fix, packageyes/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

Nuclei template