Apache Tomcat Default Files

Medium Nessus Plugin ID 12085

Synopsis

The remote web server contains default files.

Description

The default error page, default index page, example JSPs,
and/or example servlets are installed on the remote Apache
Tomcat server. These files should be removed as they may
help an attacker uncover information about the remote Tomcat
install or host itself.

Solution

Delete the default index page and remove the example JSP and
servlets. Follow the Tomcat or OWASP instructions to replace
or modify the default error page.

See Also

https://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q6

https://www.owasp.org/index.php/Securing_tomcat

Plugin Details

Severity: Medium

ID: 12085

File Name: tomcat_server_default_files.nasl

Version: Revision: 1.17

Type: remote

Family: Web Servers

Published: 2004/03/02

Modified: 2018/01/30

Dependencies: 39446

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6.8

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

CVSS v3.0

Base Score: 7.3

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

Vulnerability Information

CPE: cpe:/a:apache:tomcat

Reference Information

CWE: 20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990