Apache Tomcat 5.5.x < 5.5.30

medium Nessus Plugin ID 47749
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


The remote Apache Tomcat server is affected by multiple vulnerabilities.


According to its self-reported version number, the Apache Tomcat server listening on the remote host is 5.5.x prior to 5.5.30. It is, therefore, affected by multiple vulnerabilities :

- An error in the access restriction on a 'ServletContext' attribute which holds the location of the work directory in Tomcat's SecurityManager. A remote attacker may be able to modify the location of the working directory which then allows improper read and write access to arbitrary files and directories in the context of Tomcat.(CVE-2010-3718)

- An error exists in the handling of the 'Transfer-Encoding' header of a client request. This error affects buffer recycling and may lead to the disclosure of sensitive information or allow a denial of service attack to be successful. (CVE-2010-2227)

- An error exists in the handling of the '<realm-name>' element in a web application's web.xml file. If the element is missing from the web.xml file and the application is using BASIC or DIGEST authentication, Tomcat will include the server's hostname or IP address in the 'WWW-Authenticate' header of the response.

Note that Nessus did not actually test for the flaws but instead has relied on the version in Tomcat's banner or error page so this may be a false positive.


Upgrade to Tomcat version 5.5.30 or later.

See Also





Plugin Details

Severity: Medium

ID: 47749

File Name: tomcat_transfer_encoding.nasl

Version: 1.35

Type: combined

Agent: windows, macosx, unix

Family: Web Servers

Published: 7/16/2010

Updated: 7/22/2020

Dependencies: apache_tomcat_nix_installed.nbin, tomcat_win_installed.nbin, tomcat_error_version.nasl

Risk Information

CVSS Score Source: CVE-2010-2227


Risk Factor: Low

Score: 3.5


Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

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


Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

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

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

Vulnerability Information

CPE: cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*

Required KB Items: installed_sw/Apache Tomcat

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/9/2010

Vulnerability Publication Date: 7/9/2010

Reference Information

CVE: CVE-2010-2227, CVE-2010-3718, CVE-2010-1157

BID: 41544, 46177, 39635

Secunia: 39574, 43198