All vulnerabilities
CVE-2017-12617

Apache Tomcat Remote Code Execution Vulnerability

Apache TomcatWeb servers
CVSS
8.1High
ExploitationExploited in the wildAdded to KEV 25 Mar 2022CISA KEV
Exploit odds (EPSS)>99.9%Chance of exploitation activity in the next 30 days, higher than 99.9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
Federal deadline15 Apr 2022Remediation due date for US federal agenciesCISA KEV
CISA required actionApply updates per vendor instructions. CISA KEV

What fixes it

No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.

Timeline

  1. 3 Oct 2017Exploit code publicMetasploit
  2. 3 Oct 2017, 15:00 UTCPublishedCVE List
  3. 25 Mar 2022Added to CISA KEVCISA KEV

Public exploit code and templates 4

  • Exploit moduleTomcat RCE via JSP Upload Bypass 3 Oct 2017Metasploit
  • Webapps exploitApache Tomcat < 9.0.1 (Beta) / < 8.5.23 / < 8.0.47 / < 7.0.8 - JSP Upload Bypass / Remote Code Execution (2) 9 Oct 2017Exploit-DB
  • Remote exploitTomcat - Remote Code Execution via JSP Upload Bypass (Metasploit) 17 Oct 2017Exploit-DB
  • Scanner templateApache Tomcat - Remote Code ExecutionNuclei

Listed so defenders can prioritize. Threatline links to the source and does not host exploit code.

Description

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.

Text from CVE List

Affected versions 4

  • Apache Tomcataffected: 9.0.0.M1 to 9.0.0CVE List
  • Apache Tomcataffected: 8.5.0 to 8.5.22CVE List
  • Apache Tomcataffected: 8.0.0.RC1 to 8.0.46CVE List
  • Apache Tomcataffected: 7.0.0 to 7.0.81CVE List

References 41