Apache Tomcat 6.x < 6.0.30 / 7.x < 7.0.5 Multiple XSS

medium Nessus Plugin ID 51526

Synopsis

The remote web server is affected by multiple cross-site scripting vulnerabilities.

Description

According to its self-reported version number, the instance of Apache Tomcat listening on the remote host is 6.x prior to 6.0.30 or 7.x prior to 7.0.5. It is, therefore, affected by multiple cross-site scripting vulnerabilities in the Tomcat Manager application's 'sessionList.jsp' file. The 'sort' and 'orderby' parameters are not properly sanitized before being returned to the user and can be used to inject arbitrary script into the user's browser.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Also note, in the case of Tomcat 7.x, successful exploitation requires that the cross-site request forgery (CSRF) filter is disabled.

Solution

Update Apache Tomcat to version 6.0.30 / 7.0.5 or later.

See Also

https://seclists.org/fulldisclosure/2010/Nov/283

http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.30

http://www.nessus.org/u?37871cd8

Plugin Details

Severity: Medium

ID: 51526

File Name: tomcat_7_0_5.nasl

Version: 1.21

Type: combined

Agent: windows, macosx, unix

Family: Web Servers

Published: 1/14/2011

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.9

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.6

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

CVSS Score Source: CVE-2010-4172

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.9

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:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:apache:tomcat

Required KB Items: installed_sw/Apache Tomcat

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/13/2011

Vulnerability Publication Date: 11/22/2010

Exploitable With

Core Impact

Reference Information

CVE: CVE-2010-4172

BID: 45015

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

SECUNIA: 42337