the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2008-2938

Directory traversal vulnerability in Apache Tomcat 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0 through 6.0.16, when allowLinking and UTF-8 are enabled, allows remote attackers to read arbitrary files via encoded directory traversal sequences in the URI, a different vulnerability than CVE-2008-2370. NOTE: versions earlier than 6.0.18 were reported affected, but the vendor advisory lists 6.0.16 as the last affected version.
Publish Date : 2008-08-12 Last Update Date : 2018-10-11
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact None (There is no impact to the integrity of the system)
Availability Impact None (There is no impact to the availability of the system.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Directory traversal

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat moderate 2008-07-19 2008-08-11
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @

- Related OVAL Definitions

Title Definition Id Class Family
CVE-2008-2938 unix
Directory traversal vulnerability in Apache Tomcat 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0 through 6.0.16,... oval:org.mitre.oval:def:10587 unix
ELSA-2008:0648: tomcat security update (Important) oval:org.mitre.oval:def:21729 unix
RHSA-2008:0648 -- tomcat security update (Important) oval:org.mitre.oval:def:28407 unix
RHSA-2008:0648: tomcat security update (Important) oval:com.redhat.rhsa:def:20080648 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2008-2938

# Product Type Vendor Product Version Update Edition Language
1 Application Apache Tomcat 6.0.0 Version Details Vulnerabilities
2 Application Apache Tomcat 6.0.1 Version Details Vulnerabilities
3 Application Apache Tomcat 6.0.2 Version Details Vulnerabilities
4 Application Apache Tomcat 6.0.3 Version Details Vulnerabilities
5 Application Apache Tomcat 6.0.4 Version Details Vulnerabilities
6 Application Apache Tomcat 6.0.5 Version Details Vulnerabilities
7 Application Apache Tomcat 6.0.6 Version Details Vulnerabilities
8 Application Apache Tomcat 6.0.7 Version Details Vulnerabilities
9 Application Apache Tomcat 6.0.8 Version Details Vulnerabilities
10 Application Apache Tomcat 6.0.9 Version Details Vulnerabilities
11 Application Apache Tomcat 6.0.10 Version Details Vulnerabilities
12 Application Apache Tomcat 6.0.11 Version Details Vulnerabilities
13 Application Apache Tomcat 6.0.12 Version Details Vulnerabilities
14 Application Apache Tomcat 6.0.13 Version Details Vulnerabilities
15 Application Apache Tomcat 6.0.14 Version Details Vulnerabilities
16 Application Apache Tomcat 6.0.15 Version Details Vulnerabilities
17 Application Apache Software Foundation Tomcat 6.0.16 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Apache Tomcat 16
Apache Software Foundation Tomcat 1

- References For CVE-2008-2938
XF tomcat-allowlinking-utf8-directory-traversal(44411)
VUPEN ADV-2008-2343
VUPEN ADV-2008-2780
VUPEN ADV-2008-2823
VUPEN ADV-2009-0320
BUGTRAQ 20080811 Apache Tomcat <= 6.0.18 UTF8 Directory Traversal Vulnerability
SECTRACK 1020665
BUGTRAQ 20091107 ToutVirtual VirtualIQ Multiple Vulnerabilities
BID 30633 Multiple Java Runtime Implementations UTF-8 Input Validation Vulnerability Release Date:2012-09-25
BID 31681 RETIRED: Apple Mac OS X 2008-007 Multiple Security Vulnerabilities Release Date:2009-03-24
REDHAT RHSA-2008:0862
APPLE APPLE-SA-2008-10-09
SUSE SUSE-SR:2009:004
SUSE SUSE-SR:2008:018

- Metasploit Modules Related To CVE-2008-2938

Tomcat UTF-8 Directory Traversal Vulnerability
This module tests whether a directory traversal vulnerability is present in versions of Apache Tomcat 4.1.0 - 4.1.37, 5.5.0 - 5.5.26 and 6.0.0 - 6.0.16 under specific and non-default installations. The connector must have allowLinking set to true and URIEncoding set to UTF-8. Furthermore, the vulnerability actually occurs within Java and not Tomcat; the server must use Java versions prior to Sun 1.4.2_19, 1.5.0_17, 6u11 - or prior IBM Java 5.0 SR9, 1.4.2 SR13, SE 6 SR4 releases. This module has only been tested against RedHat 9 running Tomcat 6.0.16 and Sun JRE 1.5.0-05. You may wish to change FILE (hosts,sensitive files), MAXDIRS and RPORT depending on your environment.
Module type : auxiliary Rank : normal
TrendMicro Data Loss Prevention 5.5 Directory Traversal
This module tests whether a directory traversal vulnerablity is present in Trend Micro DLP (Data Loss Prevention) Appliance v5.5 build <= 1294. The vulnerability appears to be actually caused by the Tomcat UTF-8 bug which is implemented in module tomcat_utf8_traversal CVE 2008-2938. This module simply tests for the same bug with Trend Micro specific settings. Note that in the Trend Micro appliance, /etc/shadow is not used and therefore password hashes are stored and anonymously accessible in the passwd file.
Module type : auxiliary Rank : normal

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.