Tomcat Sample App cal2.jsp time Parameter XSS (CVE-2009-0781)

This script is Copyright (C) 2009-2013 Tenable Network Security, Inc.


Synopsis :

The remote web server contains a JSP application that is affected by a
cross-site scripting vulnerability.

Description :

The remote web server includes an example JSP application, 'cal2.jsp',
that fails to sanitize user-supplied input before using it to generate
dynamic content. An unauthenticated remote attacker may be able to
leverage this issue to inject arbitrary HTML or script code into a
user's browser to be executed within the security context of the
affected site.

See also :

http://www.securityfocus.com/archive/1/501538/30/0/threaded
http://tomcat.apache.org/security-6.html
http://tomcat.apache.org/security-5.html
http://tomcat.apache.org/security-4.html

Solution :

Either undeploy the Tomcat examples web application, apply the
appropriate patch referenced in the vendor advisory, or upgrade to
Tomcat 6.0.20 / 5.5.28 / 4.1.40.

Risk factor :

Medium / CVSS Base Score : 4.3
(CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N)

Family: CGI abuses : XSS

Nessus Plugin ID: 35806 ()

Bugtraq ID:

CVE ID: CVE-2009-0781