Apache Tomcat 7.x < 7.0.4 SecurityManager Local Security Bypass

This script is Copyright (C) 2011-2016 Tenable Network Security, Inc.


Synopsis :

The remote web server is affected by a security bypass vulnerability.

Description :

According to its self-reported version number, the instance of Apache
Tomcat 7.x listening on the remote host is prior to 7.0.4. It is,
therefore, affected by a security bypass vulnerability due to an error
in the access restriction on a 'ServletContext' attribute which holds
the location of the work directory in Tomcat's SecurityManager. A
malicious web application can 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.

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

See also :

http://www.nessus.org/u?8da12114
http://archives.neohapsis.com/archives/fulldisclosure/current/0074.html

Solution :

Upgrade to Apache Tomcat version 7.0.4 or later. Alternatively,
undeploy untrusted third-party web applications.

Risk factor :

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

Family: Web Servers

Nessus Plugin ID: 51958 ()

Bugtraq ID: 46177

CVE ID: CVE-2010-3718