Apache Tomcat WAR Deployment Multiple Vulnerabilities

This script is Copyright (C) 2010-2014 Tenable Network Security, Inc.


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 potentially 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).

See also :

http://tomcat.apache.org/security-5.html
http://tomcat.apache.org/security-6.html
http://www.securityfocus.com/archive/1/509148/30/0/threaded
http://www.securityfocus.com/archive/1/509150/30/0/threaded
http://www.securityfocus.com/archive/1/509151/30/0/threaded

Solution :

Upgrade to Tomcat version 6.0.24 / 5.5.29 or later.

Risk factor :

Medium / CVSS Base Score : 5.5
(CVSS2#AV:N/AC:L/Au:S/C:N/I:P/A:P)
CVSS Temporal Score : 4.8
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : true

Family: Web Servers

Nessus Plugin ID: 44314 ()

Bugtraq ID: 37942
37944
37945

CVE ID: CVE-2009-2693
CVE-2009-2901
CVE-2009-2902