Tomcat Sample App hello.jsp 'test' Parameter XSS

medium Nessus Plugin ID 25289

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 that fails to sanitize user-supplied input before using it to generate dynamic content in an error page. 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

Undeploy the Tomcat documentation web application.

See Also

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

Plugin Details

Severity: Medium

ID: 25289

File Name: tomcat_sample_hello_xss.nasl

Version: 1.27

Type: remote

Published: 5/21/2007

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

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

Exploit Ease: No exploit is required

Exploited by Nessus: true

Vulnerability Publication Date: 5/19/2007

Reference Information

CVE: CVE-2007-1355

BID: 24058

CWE: 20, 442, 629, 711, 712, 722, 725, 74, 750, 751, 79, 800, 801, 809, 811, 864, 900, 928, 931, 990