CVE-2009-0781
Cross-site scripting (XSS) vulnerability in jsp/cal/cal2.jsp in the calendar application in the examples web application in Apache…
Check your servers for CVE-2009-0781
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-0781 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
Cross-site scripting (XSS) vulnerability in jsp/cal/cal2.jsp in the calendar application in the examples web application in Apache Tomcat 4.1.0 through 4.1.39, 5.5.0 through 5.5.27, and 6.0.0 through 6.0.18 allows remote attackers to inject arbitrary web script or HTML via the time parameter, related to "invalid HTML."
Exploitation
EPSS 9.72%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.2% 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-0781 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2009-0781RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2009-0781Alpine
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-0781
trivy image --scanners vuln IMAGE | grep CVE-2009-0781
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
- http://tomcat.apache.org/security-4.html tomcat.apache.org
- HPSBMA02535 marc.info · vendor advisory
- MDVSA-2009:138 mandriva.com · vendor advisory
- FEDORA-2009-11356 redhat.com · vendor advisory
- DSA-2207 debian.org · vendor advisory
- HPSBUX02860 marc.info · vendor advisory
- 37460 secunia.com · third party advisory
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html vmware.com
- 35788 secunia.com · third party advisory
- APPLE-SA-2010-03-29-1 lists.apple.com · vendor advisory
- HPSBOV02762 marc.info · vendor advisory
- 42368 secunia.com · third party advisory
10 more
- http://tomcat.apache.org/security-6.html tomcat.apache.org
- http://support.apple.com/kb/HT4077 support.apple.com
- FEDORA-2009-11374 redhat.com · vendor advisory
- 35685 secunia.com · third party advisory
- FEDORA-2009-11352 redhat.com · vendor advisory
- http://tomcat.apache.org/security-5.html tomcat.apache.org
- SUSE-SR:2009:012 lists.opensuse.org · vendor advisory
- HPSBUX02579 marc.info · vendor advisory
- MDVSA-2009:136 mandriva.com · vendor advisory
- 263529 sunsolve.sun.com · vendor advisory
Other references
- oval:org.mitre.oval:def:6564 oval.cisecurity.org · vdb entry, signature
- tomcat-cal2-xss(49213) exchange.xforce.ibmcloud.com · vdb entry
- ADV-2010-3056 vupen.com · vdb entry
- ADV-2009-1856 vupen.com · vdb entry
- oval:org.mitre.oval:def:11041 oval.cisecurity.org · vdb entry, signature
- 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue… securityfocus.com · mailing list
- oval:org.mitre.oval:def:19345 oval.cisecurity.org · vdb entry, signature
- ADV-2009-3316 vupen.com · vdb entry
- 20090306 [SECURITY] CVE-2009-0781 XSS in Apache Tomcat examples web application securityfocus.com · mailing list
- [tomcat-dev] 20190319 svn commit: r1855831 [21/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ lists.apache.org · mailing list
- [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 [19/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ lists.apache.org · mailing list
4 more
- [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 [24/34] - /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-0781 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