patchminder
Weaponized · Metasploit CVE-2008-2938

Path traversalin the org.apache.tomcat:tomcat package.

Published 13 Aug 2008 · Updated 7 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Not scored
No source has scored it yet
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 99.7% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 4.1.39, 5.5.27, 6.0.18
In plain words

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.

What to do now
  • Upgrade org.apache.tomcat:tomcat (Maven) to 4.1.39, 5.5.27, 6.0.18 or later, whichever matches your release line.

Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
org.apache.tomcat:tomcat (Maven)
4.1.0 to before 4.1.39
4.1.39
GitHub advisory
org.apache.tomcat:tomcat (Maven)
5.5.0 to before 5.5.27
5.5.27
GitHub advisory
org.apache.tomcat:tomcat (Maven)
6.0.0 to before 6.0.18
6.0.18
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 30 Jun 2008
    CVE ID reserved by redhat.
  2. 13 Aug 2008
    Published in the CVE List.
  3. 9 Jan 2009
    Metasploit module: Tomcat UTF-8 Directory Traversal Vulnerability.
  4. 13 Oct 2016
    First public proof of concept on GitHub.
  5. 7 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
2 modules
Nuclei scan template
None known
Exploit-DB
2 entries
GitHub proof of concepts
1 repository
Exploit-DBEDB-ID 6229remote exploit for multiple, published 11 Aug 2008, verified by Exploit-DB
Exploit-DBEDB-ID 14489remote exploit for unix, published 28 Jul 2010, verified by Exploit-DB
GitHubno warning signs foundNaramsim/Offensive1 stars · created 13 Oct 2016Reproducible exploits for: CVE-2016-1240 CVE-2008-2938 CVE-2014-2064 CVE-2014-1904
Referencewww.exploit-db.comnamed as exploit in the CVE record

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2008-2938: Path traversal in the org.apache.tomcat:tomcat package. https://patchminder.com/cve/cve-2008-2938/ (accessed 5 December 2026).