---
title: "CVE-2009-0781\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2009-0781?format=md
keywords: index, follow
---

# CVE-2009-0781

Publication date 9 March 2009

Last updated 24 July 2024

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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."

[Read the notes from the security team](https://ubuntu.com/security/CVE-2009-0781?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| tomcat5.5 | 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not in release |
| 9.10 karmic | Not in release |
| 9.04 jaunty | Ignored end of life |
| 8.10 intrepid | Ignored end of life, was needed |
| 8.04 LTS hardy | Ignored end of life |
| 7.10 gutsy | Ignored end of life, was needed |
| 6.06 LTS dapper | Not in release |
| tomcat6 | 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.10 maverick | Not affected |
| 10.04 LTS lucid | Not affected |
| 9.10 karmic | Not affected |
| 9.04 jaunty | Fixed 6.0.18-0ubuntu6.1 |
| 8.10 intrepid | Fixed 6.0.18-0ubuntu3.2 |
| 8.04 LTS hardy | Not in release |
| 7.10 gutsy | Not in release |
| 6.06 LTS dapper | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2009-0781?format=md#patch-details)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

PoC: http://seclists.org/bugtraq/2009/Mar/0054.html

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| tomcat5.5 | * Upstream:   <http://svn.apache.org/viewvc?view=rev&revision=750928> |
| tomcat6 | * Upstream:   <http://svn.apache.org/viewvc?view=rev&revision=750924> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0781)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2009-0781)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2009-0781)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2009-0781)

### Related Ubuntu Security Notices (USN)

+ [USN-788-1](https://usn.ubuntu.com/USN-788-1)
+ Tomcat vulnerabilities
+ 15 June 2009

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2009-0781>
