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

medium Log Correlation Engine Plugin ID 800603

Synopsis

The remote host is vulnerable to a cross-site scripting (XSS) attack

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.

Solution

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

See Also

http://tomcat.apache.org/security-6.html

http://tomcat.apache.org/security-5.html

http://tomcat.apache.org/security-4.html

http://www.securityfocus.com/archive/1/501538/30/0/threaded

Plugin Details

Severity: Medium

ID: 800603

Family: Web Servers

Nessus ID: 35806

Risk Information

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

Reference Information

CVE: CVE-2009-0781