Apache Tomcat 8.5.x < 8.5.15 Remote Error Page Manipulation

Medium Web Application Scanning Plugin ID 112303

Synopsis

Apache Tomcat 8.5.x < 8.5.15 Remote Error Page Manipulation

Description

According to its self-reported version number, the Apache Tomcat service running on the remote host is 7.0.x prior to 7.0.78 or 8.5.x prior to 8.5.15. It is, therefore, affected by an implementation flaw in the error page reporting mechanism in which it does not conform to the Java Servlet Specification that requires static error pages to be processed as an HTTP GET request nothwithstanding the HTTP request method that was originally used when the error occurred. Depending on the original request and the configuration of the Default Servlet, an unauthenticated, remote attacker can exploit this issue to replace or remove custom error pages.

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.15 or later.

See Also

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

Plugin Details

Severity: Medium

ID: 112303

Type: remote

Published: 2018/11/05

Updated: 2020/02/18

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5

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

CVSS v3.0

Base Score: 7.5

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

Vulnerability Information

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

Exploit Available: false

Patch Publication Date: 2017/05/10

Vulnerability Publication Date: 2017/06/06

Reference Information

CVE: CVE-2017-5664

BID: 98888

CWE: 254

OWASP: 2013-A9, 2017-A9

OWASP_API: 2019-API7