Apache Tomcat Sample App cal2.jsp 'time' Parameter XSS (CVE-2006-7196)

medium Nessus Plugin ID 26070

Synopsis

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

Description

The remote Apache Tomcat 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 can exploit 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

Upgrade to Tomcat version 4.1.32 / 5.5.16 or later. Alternatively, undeploy the Tomcat examples web application.

See Also

https://www.securityfocus.com/archive/1/478491/30/0/threaded

https://www.securityfocus.com/archive/1/478609/30/0/threaded

Plugin Details

Severity: Medium

ID: 26070

File Name: tomcat_sample_cal2_xss.nasl

Version: 1.24

Type: remote

Published: 9/24/2007

Updated: 1/19/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.2

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

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 5.1

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

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

Vulnerability Information

CPE: cpe:/a:apache:tomcat

Required KB Items: installed_sw/Apache Tomcat

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 4/22/2007

Reference Information

CVE: CVE-2006-7196

BID: 25531

CWE: 79