CVE-2017-12617
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.
Severity
HIGH
CVSS v3
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
99.968%
chance of exploitation in the next 30 days
among the highest of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-03-25
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 1
Nuclei templates: 1
Exploit-DB: 2
Weakness
- CWE-434: Unrestricted Upload of File with Dangerous Type
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Apache Tomcat Remote Code Execution Vulnerability |
|---|---|
| Vendor / product | Apache / Tomcat |
| Date added | 2022-03-25 |
| Federal remediation due date | 2022-04-15 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-02-04 |
Timeline
- 2017-10-03Published by the CNA15:00 UTC
- 2017-10-09First Exploit-DB entry (EDB-ID 42966)6 days after publication
- 2022-03-25Added to the CISA KEV catalog1634 days after publication
- 2022-05-14GitHub advisory published (GHSA-xjgh-84hx-56c5)1684 days after publication
- 2025-02-04CISA SSVC decision recorded2681 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 43008 | remote | java | 2017-10-17 | yes |
| EDB-ID 42966 | webapps | jsp | 2017-10-09 | yes |
Nuclei templates:
- CVE-2017-12617: Apache Tomcat - Remote Code Execution
GitHub advisory GHSA-xjgh-84hx-56c5, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.apache.tomcat.embed:tomcat-embed-core | from 7.0.0 before 7.0.82 | 7.0.82 |
| Maven org.apache.tomcat.embed:tomcat-embed-core | from 8.0.0-RC1 before 8.0.47 | 8.0.47 |
| Maven org.apache.tomcat.embed:tomcat-embed-core | from 8.5.0 before 8.5.23 | 8.5.23 |
| Maven org.apache.tomcat.embed:tomcat-embed-core | from 9.0.0.M1 before 9.0.1 | 9.0.1 |
| Maven org.apache.tomcat:tomcat-catalina | from 7.0.0 before 7.0.82 | 7.0.82 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| apache tomcat | from 7.0.0 before 7.0.82fixed in 7.0.82from 8.0 before 8.0.47fixed in 8.0.47from 8.5.0 before 8.5.23fixed in 8.5.23from 9.0.0 before 9.0.1fixed in 9.0.1 | 7.0.828.0.478.5.239.0.1 |
| canonical ubuntu_linux | 12.04no fix listed16.04no fix listed17.10no fix listed18.04no fix listed | not listednot listednot listednot listed |
| debian debian_linux | 7.0no fix listed | not listed |
| netapp active_iq_unified_manager | from 7.3no fix listedfrom 9.5no fix listed | not listednot listed |
| netapp element | ||
| netapp oncommand_balance | ||
| netapp oncommand_insight | ||
| netapp oncommand_shift | ||
| netapp oncommand_workflow_automation | ||
| netapp snapcenter | ||
| oracle agile_product_lifecycle_management | 9.3.3no fix listed9.3.4no fix listed9.3.5no fix listed9.3.6no fix listed | not listednot listednot listednot listed |
| oracle communications_instant_messaging_server | 10.0.1no fix listed | not listed |
| oracle endeca_information_discovery_integrator | 3.1.0no fix listed3.2.0no fix listed | not listednot listed |
| oracle enterprise_manager_for_mysql_database | 12.1.0.4.0no fix listed | not listed |
| oracle financial_services_analytical_applications_infrastructure | from 7.3.3.0.0 through 7.3.5.3.0no fix listedfrom 8.0.0.0.0 through 8.0.9.0.0no fix listed | not listednot listed |
| oracle fmw_platform | 12.2.1.2.0no fix listed12.2.1.3.0no fix listed | not listednot listed |
| oracle health_sciences_empirica_inspections | 1.0.1.1no fix listed | not listed |
| oracle hospitality_guest_access | 4.2.0no fix listed4.2.1no fix listed | not listednot listed |
| oracle instantis_enterprisetrack | 17.1no fix listed17.2no fix listed | not listednot listed |
| oracle management_pack | 11.2.1.0.13no fix listed | not listed |
References
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- https://lists.apache.org/thread.html/1dd0a59c1295cc08ce4c9e7edae5ad2268acc9ba55adcefa0532e5ba%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/5c0e00fd31efc11e147bf99d0f03c00a734447d3b131ab0818644cdb%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/e85e83e9954f169bbb77b44baae5a33d8de878df557bb32b7f793661%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/eb6efa8d59c45a7a9eff94c4b925467d3b3fec8ba7697f3daa314b04%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a%40%3Cdev.tomcat.apache.org%3E
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2017-12617'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2017-12617'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2017-12617'curl 'https://api.contrastcyber.com/cve_products/CVE-2017-12617'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2017-12617'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).