Stackurity Start free trial

CVEs / CVE-2017-12615

CVE-2017-12615: Apache Tomcat on Windows Remote Code Execution Vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2017-12615

Summary

When running Apache Tomcat on Windows with HTTP PUTs enabled, 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, Known Exploited Vulnerabilities catalog

Description

When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default 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, via NVD · published 19 Sep 2017 · NVD status: Analyzed

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Apache Software Foundation Apache Tomcat7.0.0 to 7.0.79—
As stated by OSV
ProductAffectedFixed in
org.apache.tomcat.embed:tomcat-embed-core (Maven)from 7.0.0, before 7.0.797.0.79

Package versions from GHSA-pjfr-qf3p-3q25.

Exploitation

In CISA KEV since25 Mar 2022
Due date for US federal agencies15 Apr 2022
Used in ransomware campaignsKnown
Required actionApply updates per vendor instructions.

Severity

CVSS 3.18.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-434

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.