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

medium Nessus Network Monitor Plugin ID 4501
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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: 4501

Family: Web Servers

Published: 8/18/2004

Updated: 3/6/2019

Dependencies: 3057

Nessus ID: 35806

Risk Information

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

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

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

CVSS v3

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.5

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*

Reference Information

CVE: CVE-2009-0781