CVE-2017-12617
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…
- 8.1HighCVSS base score
- 100.0%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 25 Mar 2022
- 4Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Apache Tomcat Remote Code Execution Vulnerability.
- Added
- 25 Mar 2022
- Fix due (US federal)
- 15 Apr 2022
- Used by ransomware
- Not known
Apply updates per vendor instructions.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 25 Mar 2022.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module, a Nuclei template and 2 Exploit-DB entries for it. 2 references of the record are tagged as an exploit. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits6
Metasploit modules1 module
- Tomcat RCE via JSP Upload Bypass (Metasploit module) (opens in a new tab)
exploit/multi/http/tomcat_jsp_upload_bypassRank excellentdisclosed 3 Oct 2017
Nuclei templates1 template
- Apache Tomcat - Remote Code Execution (Nuclei template) (opens in a new tab)
http/cves/2017/CVE-2017-12617.yamlSeverity high
Exploit-DB2 entries
- Tomcat - Remote Code Execution via JSP Upload Bypass (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 43008remote, javapublished 17 Oct 2017Verified
- Apache Tomcat < 9.0.1 (Beta) / < 8.5.23 / < 8.0.47 / < 7.0.8 - JSP Upload Bypass / Remote Code Execution (2) (Exploit-DB entry) (opens in a new tab)
EDB-ID 42966webapps, jsppublished 9 Oct 2017Verified
References tagged exploit2 references
- 42966 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 43008 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By apache
- 57 days later
· 57 days later
Published
- 4 years later
· 4 years later
Added to CISA KEV
Known exploited in the wild
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 100.0% · top 0.1% of all CVEs (10 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Affected products
Apache Software Foundation · Apache Tomcat
- affected 9.0.0.M1 to 9.0.0
- affected 8.5.0 to 8.5.22
- affected 8.0.0.RC1 to 8.0.46
- affected 7.0.0 to 7.0.81
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.tomcat.embed:tomcat-embed-coreGHSA-xjgh-84hx-56c5 (opens in a new tab)
- Mavenorg.apache.tomcat:tomcat-catalinaGHSA-xjgh-84hx-56c5 (opens in a new tab)
References
45
- RHSA-2017:3113 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2017:3080 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03828en_us (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:0269 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 42966 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03812en_us (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:0270 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:0271 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [debian-lts-announce] 20171107 [SECURITY] [DLA 1166-1] tomcat7 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2018:2939 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:0465 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-3665-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:0268 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2017:3114 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 43008 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 1039552 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 100954 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- RHSA-2018:0275 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:0466 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [announce] 20171003 [SECURITY] CVE-2017-12617 Apache Tomcat Remote Code Execution via JSP upload (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://security.netapp.com/advisory/ntap-20171018-0002/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://security.netapp.com/advisory/ntap-20180117-0002/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2017:3081 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [tomcat-dev] 20190319 svn commit: r1855831 [24/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190319 svn commit: r1855831 [25/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190325 svn commit: r1856174 [22/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190325 svn commit: r1856174 [23/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190325 svn commit: r1856174 [24/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://support.f5.com/csp/article/K53173544 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [tomcat-dev] 20190413 svn commit: r1857494 [17/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190413 svn commit: r1857496 [3/4] - in /tomcat/site/trunk: ./ docs/ xdocs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190413 svn commit: r1857494 [16/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190415 svn commit: r1857582 [18/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190415 svn commit: r1857582 [17/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20190415 svn commit: r1857582 [19/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html (opens in a new tab)x_refsource_MISCx_transferred
- [tomcat-dev] 20200203 svn commit: r1873527 [24/30] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20200203 svn commit: r1873527 [25/30] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20200213 svn commit: r1873980 [28/34] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [tomcat-dev] 20200213 svn commit: r1873980 [29/34] - /tomcat/site/trunk/docs/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12617 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-5811 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-xjgh-84hx-56c5 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2017-12617)Record last updated .