Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261469 (CVE-2009-0781) - <www-servers/tomcat-{5.5.27-r3, 6.0.18-r3}: XSS (CVE-2009-0781)
Summary: <www-servers/tomcat-{5.5.27-r3, 6.0.18-r3}: XSS (CVE-2009-0781)
Alias: CVE-2009-0781
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Security
Whiteboard: B4 [noglsa]
Depends on:
Reported: 2009-03-06 17:16 UTC by Mike Weissman
Modified: 2009-03-18 22:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Mike Weissman 2009-03-06 17:16:00 UTC
CVE-2009-0781: Apache Tomcat cross-site scripting vulnerability

Severity: low

Versions Affected:
Tomcat 6.0.0 to 6.0.18
Tomcat 5.5.0 to 5.5.27

The calendar application in the examples contains invalid HTML which renders the XSS protection for the time parameter ineffective. An attacker can therefore perform an XSS attack using the time attribute.


This issue was discovered by Deniz Cevik.


submitting Patches to 6/5.5-r6 in [java-experimental]


Reproducible: Always
Comment 1 Mike Weissman 2009-03-06 17:33:23 UTC
submitted as revision 7597 in [java-experimental]

Comment 2 Petteri Räty (RETIRED) gentoo-dev 2009-03-06 18:49:44 UTC
+*tomcat-6.0.18-r3 (06 Mar 2009)
+*tomcat-5.5.27-r3 (06 Mar 2009)
+  06 Mar 2009; Petteri Räty <>
+  +files/5.5/examples-cal.patch, +files/6/examples-cal.patch,
+  +tomcat-5.5.27-r3.ebuild, +tomcat-6.0.18-r3.ebuild:
+  Add patch for XSS issue in examples for security bug #261460. Use use deps
+  in 5.5.
Comment 3 Alex Legler (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2009-03-06 19:10:21 UTC
Arches, please test and mark stable:
Target keywords : "amd64 ppc ppc64 x86"
Comment 4 Markus Meier gentoo-dev 2009-03-07 10:54:56 UTC
amd64/x86 stable
Comment 5 Brent Baude (RETIRED) gentoo-dev 2009-03-11 15:05:08 UTC
ppc64 done
Comment 6 Stefan Behte (RETIRED) gentoo-dev Security 2009-03-11 23:39:56 UTC
CVE-2009-0781 (
  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."

Comment 7 Brent Baude (RETIRED) gentoo-dev 2009-03-18 22:37:12 UTC
ppc done
Comment 8 Alex Legler (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2009-03-18 22:47:17 UTC
Ready for GLSA voting, I say NO.
Comment 9 Pierre-Yves Rofes (RETIRED) gentoo-dev 2009-03-18 22:50:14 UTC
NO too, closing.