Apache Tomcat 6.0.x < 6.0.45 / 7.0.x < 7.0.65 / 8.0.x < 8.0.27 Directory Traversal

medium Nessus Network Monitor Plugin ID 9317

Synopsis

The remote Apache Tomcat server is affected by a directory traversal vulnerability.

Description

According to its self-reported version number, the Apache Tomcat instance listening on the remote host is 6.0.x prior to 6.0.45, or 7.0.x prior to 7.0.65, or 8.0.x prior to 8.0.27. It is, therefore, affected by the following vulnerability:

- A directory traversal vulnerability exists in Tomcat when accessing resources via ServletContext methods using paths beginning with '/..'. An unauthenticated, remote attacker can exploit this, by sending a specially crafted request, to obtain a directory listing for the directory in which the application was deployed.

Note that Nessus Network Monitor has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Apache Tomcat version 6.0.45 / 7.0.65 / 8.0.27 or later.

See Also

http://svn.apache.org/viewvc?view=rev&rev=1700900,http://svn.apache.org/viewvc?view=rev&rev=1696284,http://svn.apache.org/viewvc?view=rev&rev=1700898,http://svn.apache.org/viewvc?view=rev&rev=1696281,http://svn.apache.org/viewvc?view=rev&rev=1700897,http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.45,http://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.65,http://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.0.27

Plugin Details

Severity: Medium

ID: 9317

Family: Web Servers

Published: 5/24/2016

Updated: 3/6/2019

Nessus ID: 88935

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

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

Vulnerability Information

CPE: cpe:/a:apache:tomcat

Patch Publication Date: 2/11/2016

Vulnerability Publication Date: 2/22/2016

Reference Information

CVE: CVE-2015-5174

BID: 83329