Apache Tomcat JSP2 Examples XSS

medium Nessus Plugin ID 47708

Synopsis

The remote web server hosts one or more scripts that are affected by cross-site scripting vulnerabilities.

Description

The remote Apache Tomcat installation is affected by multiple cross-site scripting vulnerabilities because several of the JSP example scripts do not properly validate user input.

Solution

Upgrade to Apache Tomcat version 4.1.32 / 5.0.HEAD / 5.5.7 or later.
Alternatively, undeploy Apache Tomcat example web applications.

See Also

http://tomcat.apache.org/security-4.html#Fixed_in_Apache_Tomcat_4.1.32

http://www.nessus.org/u?ff24a75b

Plugin Details

Severity: Medium

ID: 47708

File Name: tomcat_jsp2_example_xss.nasl

Version: 1.12

Type: remote

Published: 7/13/2010

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Medium

Base Score: 4.3

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

CVSS v3

Risk Factor: Medium

Base Score: 5.3

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

Vulnerability Information

CPE: cpe:/a:apache:tomcat

Required KB Items: installed_sw/Apache Tomcat

Excluded KB Items: Settings/disable_cgi_scanning

Patch Publication Date: 6/16/2006

Vulnerability Publication Date: 1/3/2005

Reference Information

CVE: CVE-2005-4838

CWE: 79