Apache Tomcat RequestDispatcher Directory Traversal Arbitrary File Access

medium Nessus Plugin ID 39447
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 2.2


The remote web server is affected by a directory traversal vulnerability.


According to its self-reported version number, the remote host is running a vulnerable version of Apache Tomcat. Due to a bug in a RequestDispatcher API, target paths are normalized before the query string is removed, which could result in directory traversal attacks.
This allows a remote attacker to view files outside of the web application's root.


Upgrade to versions 6.0.20 / 5.5.28 / 4.1.40 or later. Alternatively, apply the patches referenced in the vendor advisory.

See Also






Plugin Details

Severity: Medium

ID: 39447

File Name: tomcat_requestdispatcher_dir_traversal.nasl

Version: 1.27

Type: remote

Family: CGI abuses

Published: 6/18/2009

Updated: 1/19/2021

Dependencies: tomcat_error_version.nasl

Risk Information

Risk Factor: Medium

VPR Score: 2.2

CVSS Score Source: CVE-2008-5515

CVSS v2.0

Base Score: 5

Temporal Score: 3.7

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

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 5.3

Temporal Score: 4.6

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

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:apache:tomcat

Required KB Items: installed_sw/Apache Tomcat

Exploit Ease: No exploit is required

Patch Publication Date: 6/8/2009

Vulnerability Publication Date: 6/8/2009

Reference Information

CVE: CVE-2008-5515

BID: 35263

Secunia: 35326

CWE: 22