Apache Tomcat 7.x < 7.0.4 SecurityManager Local Security Bypass

Medium Nessus Plugin ID 51958


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


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.


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

See Also



Plugin Details

Severity: Medium

ID: 51958

File Name: tomcat_7_0_4.nasl

Version: 1.20

Type: combined

Agent: windows, macosx, unix

Family: Web Servers

Published: 2011/02/11

Updated: 2020/03/11

Dependencies: 39446, 130590, 130175

Risk Information

Risk Factor: Medium

CVSS Score Source: CVE-2010-3718

CVSS v2.0

Base Score: 6.5

Temporal Score: 4.8

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

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

CVSS v3.0

Base Score: 6.3

Temporal Score: 5.5

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

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

Vulnerability Information

CPE: cpe:/a:apache:tomcat

Required KB Items: installed_sw/Apache Tomcat

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2010/09/21

Vulnerability Publication Date: 2011/02/04

Reference Information

CVE: CVE-2010-3718

BID: 46177

Secunia: 43198