CVE-2008-2938
MediumPublic exploitApache Tomcat Directory Traversal vulnerability
Published May 1, 2022 · Updated Aug 7, 2024 · Also known as GHSA-m7xj-ccqc-p4g2
Key Facts
Patch immediately- CVE-2008-2938 is a medium-severity vulnerability (CVSS 4.3 v2) affecting Tomcat (Apache), org.apache.tomcat:tomcat (maven), tomcat5-admin-webapps (oracle) and 11 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 100% probability of exploitation in the next 30 days.
- Fixed versions are available, including Tomcat 4.1.37, jbossweb 0:2.0.0-5.CP07.0jpp.ep1.1.el4, jbossweb 0:2.0.0-5.CP07.0jpp.ep1.1.el5.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v2
4.3
AV:N/AC:M/Au:N/C:P/I:N/A:N
EPSS (30-day exploit likelihood)
100%
Higher than 99.9% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2008-2938 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
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.
Affected Products
17 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| TomcatApache | See advisory | 4.1.37 |
| org.apache.tomcat:tomcatmaven | >= 4.1.0 | 6.0.18 |
| tomcat5-admin-webappsoracle | See advisory | 5.5.23-0jpp.7.el5_2.1 |
| tomcat5-common-liboracle | See advisory | 5.5.23-0jpp.7.el5_2.1 |
| tomcat5oracle | See advisory | 5.5.23-0jpp.7.el5_2.1 |
Patched Releases
Tomcat
4.1.37
jbossweb
0:2.0.0-5.CP07.0jpp.ep1.1.el4, 0:2.0.0-5.CP07.0jpp.ep1.1.el5
org.apache.tomcat:tomcat
4.1.39, 5.5.27, 6.0.18
tomcat5
0:5.0.30-0jpp_12rh, 0:5.5.23-0jpp.7.el5_2.1, 5.5.23-0jpp.7.el5_2.1
tomcat5-admin-webapps
5.5.23-0jpp.7.el5_2.1
tomcat5-common-lib
5.5.23-0jpp.7.el5_2.1
tomcat5-jasper
5.5.23-0jpp.7.el5_2.1
tomcat5-jasper-javadoc
5.5.23-0jpp.7.el5_2.1
tomcat5-jsp-2.0-api
5.5.23-0jpp.7.el5_2.1
tomcat5-jsp-2.0-api-javadoc
5.5.23-0jpp.7.el5_2.1
tomcat5-server-lib
5.5.23-0jpp.7.el5_2.1
tomcat5-servlet-2.4-api
5.5.23-0jpp.7.el5_2.1
tomcat5-servlet-2.4-api-javadoc
5.5.23-0jpp.7.el5_2.1
tomcat5-webapps
5.5.23-0jpp.7.el5_2.1
Timeline
Publicly disclosed
May 1, 2022
Last updated
Aug 7, 2024
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- advisoryAPPLE-SA-2008-10-09
- advisoryHPSBUX02401
- advisoryRHSA-2008:0648
- advisoryRHSA-2008:0862
- advisoryRHSA-2008:0864
FAQ
Common Questions.
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.
Affected: Tomcat (Apache); org.apache.tomcat:tomcat (maven) versions >= 4.1.0; tomcat5-admin-webapps (oracle), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Tomcat 4.1.37, jbossweb 0:2.0.0-5.CP07.0jpp.ep1.1.el4, jbossweb 0:2.0.0-5.CP07.0jpp.ep1.1.el5.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2008-2938 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo