Apache Tomcat 8.5.x < 8.5.23 Remote Code Execution via JSP Upload

High Web Application Scanning Plugin ID 112300

Synopsis

Apache Tomcat 8.5.x < 8.5.23 Remote Code Execution via JSP Upload

Description

The version of Apache Tomcat installed on the remote host is 8.5.x prior to 8.5.23. It is, therefore, affected by an unspecified vulnerability when running with HTTP PUTs enabled (e.g. via setting the readonly initialization parameter of the Default to false) that makes it 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.

Note that the scanner has not attempted to exploit this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Apache Tomcat version 8.5.23 or later.

See Also

http://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.5.23

Plugin Details

Severity: High

ID: 112300

Type: remote

Published: 2018/11/05

Updated: 2018/11/05

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 9.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS v3.0

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: cpe:/a:apache:tomcat:*:*:*:*:*:*:*:*

Exploit Available: true

Patch Publication Date: 2017/10/01

Vulnerability Publication Date: 2017/10/01

Reference Information

CVE: CVE-2017-12617

BID: 100954

CWE: 434

WASC: Improper Input Handling

OWASP: 2010-A4, 2013-A4, 2013-A9, 2017-A5, 2017-A9