1.1 Remove extraneous files and directories

Information

The installation may provide example applications, documentation, and other directories which may not serve a production use.

Removing sample resources is a defense in depth measure that reduces potential exposures introduced by these resources.

Solution

Perform the following to remove extraneous resources:

$ rm -rf $CATALINA_HOME/webapps/docs
$CATALINA_HOME/webapps/examples
$CATALINA_HOME/webapps/ROOT

If the Manager and HOST-Manager application are not utilized, also remove the following resources:

$ rm -rf $CATALINA_HOME/webapps/host-manager
$CATALINA_HOME/webapps/manager

See Also

https://workbench.cisecurity.org/benchmarks/15137

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, 800-53|CM-7, CSCv7|2.6

Plugin: Unix

Control ID: e06ee99f4a6e2e8f091f6974f08c13b88c70e2fc6729d87b3c44cfccfee2b2b0