TCAT-AS-000930 - Default error pages for manager application must be customized.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Default error pages that accompany the manager application provide educational information on how to configure user accounts and groups for accessing the manager application. These error pages provide responses to 401 (Unauthorized), 403 (Forbidden), and 404 (Not Found) JSP error codes and should not exist on production systems.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

From the Tomcat server as a privileged user:

sudo cd $CATALINA_BASE/webapps/manager/WEB-INF/jsp/

Use a file editor like nano or vi and edit the 401, 402, and 403 jsp files. Remove account information and make the files reflect generic error information that assists users but does not provide sample data to users.

Save the file and restart Tomcat:
sudo systemctl restart tomcat
sudo systemctl daemon-reload

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apache_Tomcat_Application_Server_9_V2R6_STIG.zip

Item Details

References: CAT|III, CCI|CCI-001314, Rule-ID|SV-222976r879656_rule, STIG-ID|TCAT-AS-000930, STIG-Legacy|SV-111475, STIG-Legacy|V-102535, Vuln-ID|V-222976

Plugin: Unix

Control ID: fabc090eb9881fcdf682438ef27902a56feffd2ca96c8c6b17905d0cae7e7aac