CVE-2017-12617

Apache Tomcat: Remote Code Execution

As of , CVE-2017-12617 in Apache Tomcat is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

Exploited
Yes: CISA listed it on 25 March 2022
US federal deadline
15 April 202221 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Not known to CISA
EPSS score
0.99Higher than 99% of the CVEs EPSS scores. EPSS estimates the chance of exploitation activity in the next 30 days.
EPSS when listed
0.95 on 25 March 2022EPSS on the day CISA listed it.
Public exploit
1 Metasploit module and 2 Exploit-DB entries (2 verified)
Fix
No vendor link in CISA's entry

What CISA says to do

Apply updates per vendor instructions.

CISA's required action

What the flaw is

When running Apache Tomcat, it is 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.

CISA's 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.

The CVE record's description, from apache

CVE published
3 October 2017
Assigned by
apache
CVSS
8.1 High (CVSS 3.1, from CISA-ADP)
CWE-434
Unrestricted Upload of File with Dangerous Type
CISA SSVC, exploitation
active
CISA SSVC, automatable
no
CISA SSVC, technical impact
total

Timeline

  1. The CVE record was published.
  2. Exploit-DB published an exploit (EDB-ID 42966).
  3. Exploit-DB published an exploit (EDB-ID 43008).
  4. CISA added it to its list of exploited vulnerabilities.
  5. The US federal deadline to fix it.

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Tomcat: other exploited entries

VulnerabilityProductOur groupListedDeadlineEPSS
CVE-2020-1938Improper Privilege ManagementApache TomcatPatch this weekMetasploit module; EPSS 0.99; verified Exploit-DB entry0.99
CVE-2025-24813Path EquivalenceApache TomcatPatch this weekMetasploit module; EPSS 0.990.99
CVE-2016-8735Remote Code ExecutionApache TomcatPatch this weekEPSS 0.900.90
CVE-2017-12615on Windows Remote Code ExecutionApache TomcatPatch this weekRansomware use; EPSS 0.990.99
CVE-2026-34486Missing Encryption of Sensitive DataApache TomcatPatch soon0.07

Read further