Apache Tomcat 5.0.x <= 5.0.30 / 5.5.x < 5.5.25 Multiple Vulnerabilities

Medium Nessus Plugin ID 51059

Synopsis

The remote Apache Tomcat server is affected by multiple vulnerabilities.

Description

According to its self-reported version number, the instance Apache Tomcat running on the remote host is 5.0.x equal to or prior to 5.0.30 or 5.5.x prior to 5.5.25. It is, therefore, affected by multiple vulnerabilities :

- An error exists in several JSP example files that allows script injection via URLs using the ';' character.
(CVE-2007-2449)

- The Manager and Host Manager applications do not properly sanitize the 'filename' parameter of the '/manager/html/upload' script, which can lead to cross- site scripting attacks. (CVE-2007-2450)

- An error exists in the handling of cookie values containing single quotes which Tomcat treats as delimiters. This can allow disclosure of sensitive information such as session IDs. (CVE-2007-3382)

- An error exists in the handling of cookie values containing backslashes which Tomcat treats as delimiters. This can allow disclosure of sensitive information such as session IDs. (CVE-2007-3385)

- An error exists in the Host Manager application which allows script injection. (CVE-2007-3386)

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

Solution

Upgrade to Apache Tomcat version 5.5.25. Alternatively, use the latest SVN source for 5.0.x. The 5.0.x branch was fixed in SVN revision number 588821.

See Also

http://www.nessus.org/u?1a40289c

https://seclists.org/bugtraq/2007/Jun/180

https://seclists.org/bugtraq/2007/Jun/182

Plugin Details

Severity: Medium

ID: 51059

File Name: tomcat_5_5_25.nasl

Version: 1.15

Type: remote

Family: Web Servers

Published: 2010/12/07

Updated: 2018/11/15

Dependencies: 39446

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 4.3

Temporal Score: 3.4

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

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

CVSS v3.0

Base Score: 5.3

Temporal Score: 4.8

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

Vulnerability Information

CPE: cpe:/a:apache:tomcat

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2007/09/07

Vulnerability Publication Date: 2007/06/13

Reference Information

CVE: CVE-2007-2449, CVE-2007-2450, CVE-2007-3382, CVE-2007-3385, CVE-2007-3386

BID: 24475, 24476, 25314, 25316

CERT: 993544

Secunia: 25678, 26465, 26466

CWE: 79, 200