CVE-2009-2902
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…
Check your servers for CVE-2009-2902
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2009-2902 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 10.7%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.5% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2009-2902 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2009-2902RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2009-2902Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2009-2902
trivy image --scanners vuln IMAGE | grep CVE-2009-2902
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- HPSBUX02541 h20000.www2.hp.com · vendor advisory
- HPSBMA02535 marc.info · vendor advisory
- http://svn.apache.org/viewvc?rev=892815&view=rev svn.apache.org
- 39317 secunia.com · third party advisory
- DSA-2207 debian.org · vendor advisory
- openSUSE-SU-2012:1700 lists.opensuse.org · vendor advisory
- HPSBUX02860 marc.info · vendor advisory
- 40330 secunia.com · third party advisory
- MDVSA-2010:177 mandriva.com · vendor advisory
- 43310 secunia.com · third party advisory
- APPLE-SA-2010-03-29-1 lists.apple.com · vendor advisory
- HPSBOV02762 marc.info · vendor advisory
21 more
- RHSA-2010:0580 redhat.com · vendor advisory
- 40813 secunia.com · third party advisory
- 38541 secunia.com · third party advisory
- MDVSA-2010:176 mandriva.com · vendor advisory
- http://tomcat.apache.org/security-6.html tomcat.apache.org
- 57126 secunia.com · third party advisory
- http://www.vmware.com/support/vsphere4/doc/vsp_vc41_u1_rel_notes.html vmware.com
- USN-899-1 ubuntu.com · vendor advisory
- http://support.apple.com/kb/HT4077 support.apple.com
- SUSE-SR:2010:008 lists.opensuse.org · vendor advisory
- openSUSE-SU-2013:0147 lists.opensuse.org · vendor advisory
- 38687 secunia.com · third party advisory
- 38346 secunia.com · third party advisory
- http://tomcat.apache.org/security-5.html tomcat.apache.org
- http://www.vmware.com/security/advisories/VMSA-2011-0003.html vmware.com
- RHSA-2010:0119 redhat.com · vendor advisory
- RHSA-2010:0582 redhat.com · vendor advisory
- 38316 secunia.com · third party advisory
- HPSBST02955 marc.info · vendor advisory
- http://svn.apache.org/viewvc?rev=902650&view=rev svn.apache.org
- openSUSE-SU-2012:1701 lists.opensuse.org · vendor advisory
Other references
- 1023504 securitytracker.com · vdb entry
- oval:org.mitre.oval:def:19431 oval.cisecurity.org · vdb entry, signature
- 20100124 [SECURITY] CVE-2009-2902 Apache Tomcat unexpected file deletion in work directory securityfocus.com · mailing list
- ADV-2010-1559 vupen.com · vdb entry
- ADV-2010-1986 vupen.com · vdb entry
- 37945 securityfocus.com · vdb entry
- oval:org.mitre.oval:def:7092 oval.cisecurity.org · vdb entry, signature
- 20110211 VMSA-2011-0003 Third party component updates for VMware vCenter Server, vCenter Update Manager, ESXi and ESX securityfocus.com · mailing list
- ADV-2010-0213 vupen.com · vdb entry
- apache-tomcat-war-directory-traversal(55857) exchange.xforce.ibmcloud.com · vdb entry
- [tomcat-dev] 20190319 svn commit: r1855831 [22/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ lists.apache.org · mailing list
- [tomcat-dev] 20190325 svn commit: r1856174 [20/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ lists.apache.org · mailing list
- [tomcat-dev] 20200203 svn commit: r1873527 [22/30] - /tomcat/site/trunk/docs/ lists.apache.org · mailing list
- [tomcat-dev] 20200213 svn commit: r1873980 [25/34] - /tomcat/site/trunk/docs/ lists.apache.org · mailing list
Source: the record CVE-2009-2902 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse