Apache Tomcat WAR Deployment Multiple Vulnerabilities

medium Nessus Plugin ID 44314
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.

Synopsis

The web server running on the remote host is affected by multiple vulnerabilities.

Description

According to its self-reported version number, the remote host is running a version of Apache Tomcat that is affected by multiple vulnerabilities :

- When deploying WAR files, the WAR files are not checked for directory traversal attempts which could allow an attacker to create arbitrary content outside of the web root. (CVE-2009-2693)

- By default, Tomcat automatically deploys any directories placed in a host's appBase. This could lead to files which are normally protected by one or more security constraints being deployed without those security constraints. (CVE-2009-2901)

- When deploying WAR files, the WAR file names are not checked for directory traversal attempts which could allow an attacker to caused the deletion of the current contents of the host's work directory. (CVE-2009-2902).

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 Tomcat version 6.0.24 / 5.5.29 or later.

See Also

http://tomcat.apache.org/security-5.html

http://tomcat.apache.org/security-6.html

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

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

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

Plugin Details

Severity: Medium

ID: 44314

File Name: tomcat_war_deploy_multiple_vulnerabilities.nasl

Version: 1.25

Type: combined

Agent: windows, macosx, unix

Family: Web Servers

Published: 1/26/2010

Updated: 7/22/2020

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

Risk Information

CVSS Score Source: CVE-2009-2693

VPR

Risk Factor: Low

Score: 3.7

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.3

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

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

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

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:apache:tomcat

Required KB Items: installed_sw/Apache Tomcat

Exploit Ease: No known exploits are available

Patch Publication Date: 1/25/2010

Vulnerability Publication Date: 1/25/2010

Reference Information

CVE: CVE-2009-2693, CVE-2009-2901, CVE-2009-2902

BID: 37942, 37944, 37945

Secunia: 38316, 38346

CWE: 22, 264