Skip to content

When running Apache Tomcat on Windows with HTTP PUTs enabled it was possible to upload a JSP file to the server

High severity GitHub Reviewed Published Oct 17, 2018 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

maven org.apache.tomcat.embed:tomcat-embed-core (Maven)

Affected versions

>= 7.0.0, < 7.0.79

Patched versions

7.0.79

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.

References

Published to the GitHub Advisory Database Oct 17, 2018
Reviewed Jun 16, 2020
Last updated Jan 9, 2023

Severity

High
8.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2017-12615

GHSA ID

GHSA-pjfr-qf3p-3q25

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.