CVE-2009-2902: Path Traversal

Published Jan 28, 2010
·
Updated

Common Vulnerabilities and Exposures assigned an identifier CVE-2009-2902 to the following vulnerability:

Name: CVE-2009-2902 URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2902 Assigned: 20090820 Reference: BUGTRAQ:20100124 [SECURITY] CVE-2009-2902 Apache Tomcat unexpected file deletion in work directory Reference: URL: http://www.securityfocus.com/archive/1/archive/1/509150/100/0/threaded Reference: CONFIRM: http://svn.apache.org/viewvc?rev=892815&view=rev Reference: CONFIRM: http://svn.apache.org/viewvc?rev=902650&view=rev Reference: CONFIRM: http://tomcat.apache.org/security-5.html Reference: CONFIRM: http://tomcat.apache.org/security-6.html Reference: BID:37945 Reference: URL: http://www.securityfocus.com/bid/37945 Reference: SECTRACK:1023504 Reference: URL: http://securitytracker.com/id?1023504 Reference: SECUNIA:38316 Reference: URL: http://secunia.com/advisories/38316 Reference: SECUNIA:38346 Reference: URL: http://secunia.com/advisories/38346 Reference: VUPEN:ADV-2010-0213 Reference: URL: http://www.vupen.com/english/advisories/2010/0213 Reference: XF:apache-tomcat-war-directory-traversal(55857) Reference: URL: http://xforce.iss.net/xforce/xfdb/55857

Directory traversal vulnerability in Apache Tomcat 5.5.0 through 5.5.28 and 6.0.0 through 6.0.20 allows remote attackers to delete work-directory files via directory traversal sequences in a WAR filename, as demonstrated by the ...war filename.

Affected Software

53 affected componentsFixes available
maven/org.apache.tomcat:tomcat>=6.0.0<=6.0.20
6.0.24
maven/org.apache.tomcat:tomcat>=5.5.0<=5.5.28
5.5.29
Apache Tomcat=5.5.0
Apache Tomcat=5.5.1
Apache Tomcat=5.5.2
Apache Tomcat=5.5.3
Apache Tomcat=5.5.4
Apache Tomcat=5.5.5
Apache Tomcat=5.5.6
Apache Tomcat=5.5.7
Apache Tomcat=5.5.8
Apache Tomcat=5.5.9
Apache Tomcat=5.5.10
Apache Tomcat=5.5.11
Apache Tomcat=5.5.12
Apache Tomcat=5.5.13
Apache Tomcat=5.5.14
Apache Tomcat=5.5.15
Apache Tomcat=5.5.16
Apache Tomcat=5.5.17
Apache Tomcat=5.5.18
Apache Tomcat=5.5.19
Apache Tomcat=5.5.20
Apache Tomcat=5.5.21
Apache Tomcat=5.5.22
Apache Tomcat=5.5.23
Apache Tomcat=5.5.24
Apache Tomcat=5.5.25
Apache Tomcat=5.5.26
Apache Tomcat=5.5.27
Apache Tomcat=5.5.28
Apache Tomcat=6.0
Apache Tomcat=6.0.0
Apache Tomcat=6.0.1
Apache Tomcat=6.0.2
Apache Tomcat=6.0.3
Apache Tomcat=6.0.4
Apache Tomcat=6.0.5
Apache Tomcat=6.0.6
Apache Tomcat=6.0.7
Apache Tomcat=6.0.8
Apache Tomcat=6.0.9
Apache Tomcat=6.0.10
Apache Tomcat=6.0.11
Apache Tomcat=6.0.12
Apache Tomcat=6.0.13
Apache Tomcat=6.0.14
Apache Tomcat=6.0.15
Apache Tomcat=6.0.16
Apache Tomcat=6.0.17
Apache Tomcat=6.0.18
Apache Tomcat=6.0.19
Apache Tomcat=6.0.20

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat to a version that resolves this vulnerability.

    Fixed in 6.0.24
  2. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat to a version that resolves this vulnerability.

    Fixed in 5.5.29

Event History

Jan 28, 2010
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
08:30 PM
DescriptionWeaknessAffected Software
Data Sourced
via NVD·08:30 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·10:00 PM
DescriptionSeverityAffected Software
May 2, 2022
Advisory Published
via GitHub·03:39 AM
Data Sourced
via GitHub·03:39 AM
DescriptionWeaknessAffected Software
Feb 13, 2023
Data Sourced
01:17 AM
Severity
Feb 21, 2024
Advisory Published
via GitHub·05:35 PM
Apr 29, 2026
Updated
via NVD·01:13 AM
Affected Software
Jun 16, 2026
Updated
via NVD·11:10 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2009-2902?

CVE-2009-2902 is classified as a high severity vulnerability due to its potential for remote exploitation and its effect on the Apache Tomcat server.

2

How do I fix CVE-2009-2902?

To fix CVE-2009-2902, upgrade to Apache Tomcat version 5.5.29 or 6.0.24 or later.

3

What versions of Apache Tomcat are affected by CVE-2009-2902?

CVE-2009-2902 affects Apache Tomcat versions 5.5.0 through 5.5.28 and 6.0.0 through 6.0.20.

4

What type of vulnerability is CVE-2009-2902?

CVE-2009-2902 is a directory traversal vulnerability that allows unauthorized remote access to files in the work directory.

5

Can CVE-2009-2902 be exploited remotely?

Yes, CVE-2009-2902 can be exploited remotely by attackers to delete files using specially crafted WAR filenames.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203