CVE Database›Document archive›CVE-2017-12617

CVE-2017-12617

tomcat: Remote Code Execution bypass for CVE-2017-12615

Loading…

Severity

Important

Red Hat Product Security

8.1

CVSS 3.0

Review impact separately from score.

Published · September 21, 2017

Updated · August 5, 2026

Description

A vulnerability was discovered in Tomcat where if a servlet context was configured with readonly=false and HTTP PUT requests were allowed, an attacker could upload a JSP file to that context and achieve code execution.

Statement

This flaw affects Tomcat on Red Hat Enterprise Linux only when a specific context is configured with readonly=false. The default configuration has a readonly context, so it is not affected.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Ensure that readonly is set to true (the default) for the DefaultServlet, WebDAV servlet or application context.

Block HTTP methods that permit resource modification for untrusted users.

CVSS / CWE

CVSS 3.0 · 8.1
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CWE-20 · Improper Input Validation