Apache Tomcat 7.0.x < 7.0.4 SecurityManager Local Security Bypass

medium Nessus Network Monitor Plugin ID 5792

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 Network Monitor has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

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

See Also

http://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.4

Plugin Details

Severity: Medium

ID: 5792

Family: Web Servers

Published: 2/13/2011

Updated: 3/6/2019

Nessus ID: 51958

Risk Information

VPR

Risk Factor: Low

Score: 1.4

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

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

Vulnerability Information

CPE: cpe:/a:apache:tomcat

Patch Publication Date: 9/21/2010

Vulnerability Publication Date: 2/4/2011

Reference Information

CVE: CVE-2010-3718

BID: 46177