Actively exploited · Published Oct 3, 2017 · Assigned by apache

CVE-2017-12617

High 8.1 Exploited

In plain English

A high-severity unrestricted file upload in Apache Tomcat from Apache Software Foundation. Attackers are actively exploiting it in the wild (listed by CISA on March 25, 2022). The chance it is exploited in the next 30 days is estimated at 100.0% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)100.0%top 0.0% of all CVEs
Exploited in the wildYesCISA KEV since Mar 25, 2022
Attack tooling3Metasploit, Nuclei, Public PoC

CISA guidance

Apply updates per vendor instructions.

Federal agencies must remediate by Apr 15, 2022.

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.tomcat.embed:tomcat-embed-core7.0.82GHSA-xjgh-84hx-56c5
Mavenorg.apache.tomcat.embed:tomcat-embed-core9.0.1GHSA-xjgh-84hx-56c5
Mavenorg.apache.tomcat.embed:tomcat-embed-core8.5.23GHSA-xjgh-84hx-56c5
Mavenorg.apache.tomcat.embed:tomcat-embed-core8.0.47GHSA-xjgh-84hx-56c5
Mavenorg.apache.tomcat:tomcat-catalina9.0.1GHSA-xjgh-84hx-56c5
Mavenorg.apache.tomcat:tomcat-catalina8.5.23GHSA-xjgh-84hx-56c5
Mavenorg.apache.tomcat:tomcat-catalina8.0.47GHSA-xjgh-84hx-56c5
Mavenorg.apache.tomcat:tomcat-catalina7.0.82GHSA-xjgh-84hx-56c5

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Tomcat 9.0.0.M1 to 9.0.08.5.0 to 8.5.228.0.0.RC1 to 8.0.467.0.0 to 7.0.81

Weakness: CWE-434 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References