CVE-2008-2938 json
Apache Tomcat Directory Traversal vulnerability
published 2008-08-13 18 y ago modified 2026-06-16 4 mo ago also GHSA-m7xj-ccqc-p4g2 , EUVD-2022-4516
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 99.7%
- EPSS 99.7% chance of exploitation in 30 days, percentile 99.9%
- public exploits
- 4
- Metasploit, Exploit-DB
Summary
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.
Patch / fix
- maven org.apache.tomcat:tomcat 4.1.39, 5.5.27, 6.0.18
- tomcat5 network satellite 5.1, network satellite 5.0 5.0.30-0jpp_12rh
- jbossweb jboss enterprise application platform 4.3.0, jboss enterprise application platform 4.2.0 2.0.0-5.CP07.0jpp.ep1.1.el4
- jbossweb jboss enterprise application platform 4.3.0, jboss enterprise application platform 4.2.0 2.0.0-5.CP07.0jpp.ep1.1.el5
- tomcat5 RHEL 3 DEVELOPER_SUITE 5.5.23-0jpp_12rh
- tomcat5-jasper RHEL 3 DEVELOPER_SUITE 5.5.23-0jpp_12rh
- tomcat5-common-lib RHEL 3 DEVELOPER_SUITE 5.5.23-0jpp_12rh
- tomcat5-server-lib RHEL 3 DEVELOPER_SUITE 5.5.23-0jpp_12rh
- tomcat5-jsp-2.0-api RHEL 3 DEVELOPER_SUITE 5.5.23-0jpp_12rh
red hat advisories RHSA-2008:1007RHSA-2008:0877RHSA-2008:0864RHSA-2008:0862RHSA-2008:0648
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2008-2938 updated
tomcat Unicode directory traversal vulnerability
-
Red Hat Application Server v2 4AS tomcat5 5.5.23-0jpp_4rh.9, tomcat5-jasper 5.5.23-0jpp_4rh.9, tomcat5-webapps 5.5.23-0jpp_4rh.9, tomcat5-common-lib 5.5.23-0jpp_4rh.9, tomcat5-server-lib 5.5.23-0jpp_4rh.9, tomcat5-jsp-2.0-api 5.5.23-0jpp_4rh.9, +5 more Red Hat Application Server v2 4ES tomcat5 5.5.23-0jpp_4rh.9, tomcat5-jasper 5.5.23-0jpp_4rh.9, tomcat5-webapps 5.5.23-0jpp_4rh.9, tomcat5-common-lib 5.5.23-0jpp_4rh.9, tomcat5-server-lib 5.5.23-0jpp_4rh.9, tomcat5-jsp-2.0-api 5.5.23-0jpp_4rh.9, +5 more Red Hat Application Server v2 4WS tomcat5 5.5.23-0jpp_4rh.9, tomcat5-jasper 5.5.23-0jpp_4rh.9, tomcat5-webapps 5.5.23-0jpp_4rh.9, tomcat5-common-lib 5.5.23-0jpp_4rh.9, tomcat5-server-lib 5.5.23-0jpp_4rh.9, tomcat5-jsp-2.0-api 5.5.23-0jpp_4rh.9, +5 morefixed: vendor fix RHSA-2008:0862
-
Red Hat Developer Suite v.3 (AS v.4) tomcat5 5.5.23-0jpp_12rh, tomcat5-jasper 5.5.23-0jpp_12rh, tomcat5-common-lib 5.5.23-0jpp_12rh, tomcat5-server-lib 5.5.23-0jpp_12rh, tomcat5-jsp-2.0-api 5.5.23-0jpp_12rh, tomcat5-servlet-2.4-api 5.5.23-0jpp_12rhfixed: vendor fix RHSA-2008:0864
-
Red Hat Enterprise Linux (v. 5 server) tomcat5 5.5.23-0jpp.7.el5_2.1, tomcat5-jasper 5.5.23-0jpp.7.el5_2.1, tomcat5-webapps 5.5.23-0jpp.7.el5_2.1, tomcat5-common-lib 5.5.23-0jpp.7.el5_2.1, tomcat5-server-lib 5.5.23-0jpp.7.el5_2.1, tomcat5-jsp-2.0-api 5.5.23-0jpp.7.el5_2.1, +5 more Red Hat Enterprise Linux Desktop (v. 5 client) tomcat5 5.5.23-0jpp.7.el5_2.1, tomcat5-jasper 5.5.23-0jpp.7.el5_2.1, tomcat5-webapps 5.5.23-0jpp.7.el5_2.1, tomcat5-common-lib 5.5.23-0jpp.7.el5_2.1, tomcat5-server-lib 5.5.23-0jpp.7.el5_2.1, tomcat5-jsp-2.0-api 5.5.23-0jpp.7.el5_2.1, +5 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) tomcat5 5.5.23-0jpp.7.el5_2.1, tomcat5-jasper 5.5.23-0jpp.7.el5_2.1, tomcat5-webapps 5.5.23-0jpp.7.el5_2.1, tomcat5-common-lib 5.5.23-0jpp.7.el5_2.1, tomcat5-server-lib 5.5.23-0jpp.7.el5_2.1, tomcat5-jsp-2.0-api 5.5.23-0jpp.7.el5_2.1, +5 morefixed: vendor fix RHSA-2008:0648
-
Red Hat JBoss Enterprise Application Platform 4.2.0 for RHEL 4 AS jbossweb 2.0.0-5.CP07.0jpp.ep1.1.el4 Red Hat JBoss Enterprise Application Platform 4.2.0 for RHEL 4 ES jbossweb 2.0.0-5.CP07.0jpp.ep1.1.el4 Red Hat JBoss Enterprise Application Platform 4.2.0 for RHEL 5 Server jbossweb 2.0.0-5.CP07.0jpp.ep1.1.el5 Red Hat JBoss Enterprise Application Platform 4.3.0 for RHEL 4 AS jbossweb 2.0.0-5.CP07.0jpp.ep1.1.el4 Red Hat JBoss Enterprise Application Platform 4.3.0 for RHEL 4 ES jbossweb 2.0.0-5.CP07.0jpp.ep1.1.el4 Red Hat JBoss Enterprise Application Platform 4.3.0 for RHEL 5 Server jbossweb 2.0.0-5.CP07.0jpp.ep1.1.el5fixed: vendor fix RHSA-2008:0877
-
Red Hat Satellite 5.0 (RHEL v.4 AS) tomcat5 5.0.30-0jpp_12rh Red Hat Satellite 5.1 (RHEL v.4 AS) tomcat5 5.0.30-0jpp_12rhfixed: vendor fix RHSA-2008:1007
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-6229)
- Published
Exploit prediction
99.71% chance of exploitation in the next 30 days, higher than 99.9% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit auxiliary/admin/http/tomcat_utf8_traversal Tomcat UTF-8 Directory Traversal Vulnerability metasploit auxiliary, normal rank, 2009-01-09
- Metasploit auxiliary/admin/http/trendmicro_dlp_traversal TrendMicro Data Loss Prevention 5.5 Directory Traversal metasploit auxiliary, normal rank, 2009-01-09
- EDB-14489 Apache Tomcat < 6.0.18 - 'utf8' Directory Traversal remote, 2010-07-28
- EDB-6229 Apache Tomcat < 6.0.18 - 'utf8' Directory Traversal (PoC) remote, 2008-08-11
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.tomcat:tomcat | >=4.1.0, <4.1.39 >=5.5.0, <5.5.27 >=6.0.0, <6.0.18 |
4.1.39 5.5.27 6.0.18 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/apache/tomcat/commit/c55ad56ed72ee1dbfe790bc5492d4df74e3e754f
web
-
exploit-db.com
/exploits/6229
exploit, web, third-party-advisory, vdb-entry
-
redhat.com
/support/errata/RHSA-2008-0862.html
vendor-advisory, third-party-advisory
-
redhat.com
/archives/fedora-package-announce/2008-September/msg00889.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2008-09/msg00004.html
vendor-advisory, web, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2008:188
vendor-advisory, third-party-advisory
-
redhat.com
/support/errata/RHSA-2008-0864.html
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2009-02/msg00002.html
vendor-advisory, web, third-party-advisory
-
redhat.com
/archives/fedora-package-announce/2008-September/msg00712.html
vendor-advisory, web
-
redhat.com
/archives/fedora-package-announce/2008-September/msg00859.html
vendor-advisory, web
-
marc.info
/?l=bugtraq&m=123376588623823&w=2
vendor-advisory, third-party-advisory
-
lists.apple.com
/archives/security-announce/2008/Oct/msg00001.html
vendor-advisory, mailing-list, third-party-advisory
-
redhat.com
/support/errata/RHSA-2008-0648.html
vendor-advisory, third-party-advisory
-
tomcat.apache.org
/security-4.html
vendor-advisory
-
tomcat.apache.org
/security-6.html
vendor-advisory
-
tomcat.apache.org
/security-5.html
vendor-advisory
-
secunia.com
/advisories/37297
third-party-advisory, broken-link
-
vupen.com
/english/advisories/2008/2823
vdb-entry, third-party-advisory
-
secunia.com
/advisories/31982
third-party-advisory, broken-link
-
securityfocus.com
/bid/31681
vdb-entry, third-party-advisory
-
secunia.com
/advisories/32120
third-party-advisory, broken-link
-
kb.cert.org
/vuls/id/343355
third-party-advisory, us-government-resource
-
exchange.xforce.ibmcloud.com
/vulnerabilities/44411
vdb-entry, web, third-party-advisory
-
secunia.com
/advisories/31865
third-party-advisory, broken-link
-
secunia.com
/advisories/31639
third-party-advisory, broken-link
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10587
vdb-entry, signature, web, tool-signature
-
securitytracker.com
/id?1020665
vdb-entry, third-party-advisory
-
support.avaya.com
/elmodocs2/security/ASA-2008-401.htm
web, third-party-advisory
-
vupen.com
/english/advisories/2009/0320
vdb-entry, third-party-advisory
-
vupen.com
/english/advisories/2008/2343
vdb-entry, third-party-advisory
-
securityfocus.com
/bid/30633
vdb-entry, third-party-advisory
-
securityfocus.com
/archive/1/507729/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
-
secunia.com
/advisories/32222
third-party-advisory, broken-link
-
secunia.com
/advisories/31891
third-party-advisory, broken-link
-
secunia.com
/advisories/33797
third-party-advisory, broken-link
-
securityreason.com
/securityalert/4148
third-party-advisory
-
securityfocus.com
/archive/1/495318/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
-
vupen.com
/english/advisories/2008/2780
vdb-entry, third-party-advisory
-
securenetwork.it
/ricerca/advisory/download/SN-2009-02.txt
third-party-advisory
-
support.apple.com
/kb/HT3216
web, third-party-advisory
-
secunia.com
/advisories/32266
third-party-advisory, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2008-2938
advisory
-
web.archive.org
/web/20090207111236/http://secunia.com/advisories/33797
web
-
web.archive.org
/web/20090308065055/http://secunia.com/advisories/31865
web
-
web.archive.org
/web/20100516085845/http://secunia.com/advisories/37297
web
-
web.archive.org
/web/20110711210039/http://rhn.redhat.com/errata/RHSA-2008-0862.html
web
-
web.archive.org
/web/20110713233239/http://rhn.redhat.com/errata/RHSA-2008-0648.html
web
-
web.archive.org
/web/20110713234158/http://rhn.redhat.com/errata/RHSA-2008-0864.html
web
-
web.archive.org
/web/20140628064423/http://www.securityfocus.com/archive/1/495318/100/0/threaded
web
-
web.archive.org
/web/20140628064448/http://www.securityfocus.com/archive/1/507729/100/0/threaded
web
-
web.archive.org
/web/20140826163457/http://www.securityfocus.com/bid/30633
web
-
web.archive.org
/web/20140826171227/http://www.securitytracker.com/id?1020665
web
-
web.archive.org
/web/20140826232500/http://www.securityfocus.com/bid/31681
web
-
web.archive.org
/web/20140827130327/http://www.securenetwork.it/ricerca/advisory/download/SN-2009-02.txt
web
-
web.archive.org
/web/20200612070417/http://marc.info/?l=bugtraq&m=123376588623823&w=2
web
-
github.com
/apache/tomcat
package
-
lists.apache.org
/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@%3Cdev.tomcat.apache.org%3E
web
Sources
- CVE List CVE-2008-2938
- GitHub Advisory GHSA-m7xj-ccqc-p4g2
- NVD CVE-2008-2938
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.