CVE-2008-2938 apache tomcat: Path traversal
apache tomcat: no CVSS score yet. EPSS 99.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 4.1.39, 5.5.27, 6.0.18.
On this page
- EPSS
- 99.7% (unchanged from 99.7% a week ago; 99.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
- OWASP Top 10
- A01:2025 Broken Access Control
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
org.apache.tomcat:tomcat(Maven): fixed in 4.1.39, 5.5.27, 6.0.18- Red Hat: fixed package versions per release
- Vendor advisory: http://tomcat.apache.org/security-4.html
- Vendor advisory: http://tomcat.apache.org/security-5.html
- Vendor advisory: http://tomcat.apache.org/security-6.html
Ask an AI about this CVE
Show the prompt
Explain CVE-2008-2938 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2008-2938?via=ask-ai-copy and https://cve.bz/cve/CVE-2008-2938?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2008-2938 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| apache:tomcat | from 4.0.0 through 4.1.37 |
| apache:tomcat | from 5.0.0 through 5.5.26 |
| apache:tomcat | from 6.0.0 through 6.0.16 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-m7xj-ccqc-p4g2 | Maven | org.apache.tomcat:tomcat | >=4.1.0 <4.1.39 | 4.1.39 |
| GHSA-m7xj-ccqc-p4g2 | Maven | org.apache.tomcat:tomcat | >=5.5.0 <5.5.27 | 5.5.27 |
| GHSA-m7xj-ccqc-p4g2 | Maven | org.apache.tomcat:tomcat | >=6.0.0 <6.0.18 | 6.0.18 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Red Hat | enterprise_linux:5::client | tomcat5, tomcat5-debuginfo, tomcat5-jsp-2.0-api and 1 more | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat | enterprise_linux:5::client_workstation | tomcat5, tomcat5-jasper, tomcat5-webapps and 7 more | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat | enterprise_linux:5::server | tomcat5, tomcat5-jasper, tomcat5-webapps and 9 more | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat | jboss_enterprise_application_platform:4.2.0::el4, jboss_enterprise_application_platform:4.3.0::el4 | jbossweb | 0:2.0.0-5.CP07.0jpp.ep1.1.el4 | RHSA-2008:0877 |
| Red Hat | jboss_enterprise_application_platform:4.2.0::el5, jboss_enterprise_application_platform:4.3.0::el5 | jbossweb | 0:2.0.0-5.CP07.0jpp.ep1.1.el5 | RHSA-2008:0877 |
| Red Hat | network_satellite:5.0:el4, network_satellite:5.1::el4 | tomcat5 | 0:5.0.30-0jpp_12rh | RHSA-2008:1007 |
| Red Hat | rhel_application_server:2 | tomcat5, tomcat5-jasper, tomcat5-webapps and 8 more | 0:5.5.23-0jpp_4rh.9 | RHSA-2008:0862 |
| Red Hat | rhel_developer_suite:3 | tomcat5, tomcat5-jasper, tomcat5-common-lib and 3 more | 0:5.5.23-0jpp_12rh | RHSA-2008:0864 |
From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.
Red Hat
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| JBEAP 4.2.0 for RHEL 4 | jbossweb-0:2.0.0-5.CP07.0jpp.ep1.1.el4 | Fixed 2008-09-22 | RHSA-2008:0877 |
| JBEAP 4.2.0 for RHEL 5 | jbossweb-0:2.0.0-5.CP07.0jpp.ep1.1.el5 | Fixed 2008-09-22 | RHSA-2008:0877 |
| Red Hat Developer Suite V.3 | tomcat5-0:5.5.23-0jpp_12rh | Fixed 2008-10-02 | RHSA-2008:0864 |
| Red Hat Enterprise Linux 5 | tomcat5-0:5.5.23-0jpp.7.el5_2.1 | Fixed 2008-08-27 | RHSA-2008:0648 |
| Red Hat JBoss Enterprise Application Platform 4.3 for RHEL 4 | jbossweb-0:2.0.0-5.CP07.0jpp.ep1.1.el4 | Fixed 2008-09-22 | RHSA-2008:0877 |
| Red Hat JBoss Enterprise Application Platform 4.3 for RHEL 5 | jbossweb-0:2.0.0-5.CP07.0jpp.ep1.1.el5 | Fixed 2008-09-22 | RHSA-2008:0877 |
| Red Hat Network Satellite Server v 5.0 | tomcat5-0:5.0.30-0jpp_12rh | Fixed 2008-12-08 | RHSA-2008:1007 |
| Red Hat Network Satellite Server v 5.1 | tomcat5-0:5.0.30-0jpp_12rh | Fixed 2008-12-08 | RHSA-2008:1007 |
| RHAPS Version 2 for RHEL 4 | tomcat5-0:5.5.23-0jpp_4rh.9 | Fixed 2008-10-02 | RHSA-2008:0862 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2008-2938.
Public exploits
- Exploit-DB Apache Tomcat < 6.0.18 - 'utf8' Directory Traversal
- Exploit-DB Apache Tomcat < 6.0.18 - 'utf8' Directory Traversal (PoC)
- Metasploit Tomcat UTF-8 Directory Traversal Vulnerability
- Metasploit TrendMicro Data Loss Prevention 5.5 Directory Traversal
Attack patterns (CAPEC)
- CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
- CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
- CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
- CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
- CAPEC-126 Path Traversal Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- http://tomcat.apache.org/security-4.html
- http://tomcat.apache.org/security-5.html
- http://tomcat.apache.org/security-6.html
- http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html
- http://marc.info/?l=bugtraq&m=123376588623823&w=2
- http://secunia.com/advisories/31639
- http://secunia.com/advisories/31865
- http://secunia.com/advisories/31891
- http://secunia.com/advisories/31982
- http://secunia.com/advisories/32120
- http://secunia.com/advisories/32222
- http://secunia.com/advisories/32266
- http://secunia.com/advisories/33797
- http://secunia.com/advisories/37297
- http://securityreason.com/securityalert/4148
- http://support.apple.com/kb/HT3216
- http://support.avaya.com/elmodocs2/security/ASA-2008-401.htm
- http://www.kb.cert.org/vuls/id/343355
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:188
- http://www.redhat.com/support/errata/RHSA-2008-0648.html
- http://www.redhat.com/support/errata/RHSA-2008-0862.html
- http://www.redhat.com/support/errata/RHSA-2008-0864.html
- http://www.securenetwork.it/ricerca/advisory/download/SN-2009-02.txt
- http://www.securityfocus.com/archive/1/495318/100/0/threaded
- http://www.securityfocus.com/archive/1/507729/100/0/threaded
- http://www.securityfocus.com/bid/30633
- http://www.securityfocus.com/bid/31681
- http://www.securitytracker.com/id?1020665
- http://www.vupen.com/english/advisories/2008/2343
- http://www.vupen.com/english/advisories/2008/2780
- http://www.vupen.com/english/advisories/2008/2823
- http://www.vupen.com/english/advisories/2009/0320
- https://exchange.xforce.ibmcloud.com/vulnerabilities/44411
- https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10587
- https://www.exploit-db.com/exploits/6229
- https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00712.html
- https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00859.html
- https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00889.html