1. Home
  2. Security Hardening
  3. CIS Apache Tomcat 7 L2 V1.1.0 Middleware
  4. Remove extraneous files and directories (WEBAPP_DIR/ROOT/admin)

Remove extraneous files and directories (WEBAPP_DIR/ROOT/admin)

Details

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

Solution

Perform the following to remove extraneous resources:
1. The following should yield no output:
$ rm -rf $CATALINA_HOME/webapps/docs
$CATALINA_HOME/webapps/examples
If the Manager application is not utilized, also remove the following resources:
$ rm -rf $CATALINA_HOME/webapps/host-manager
$CATALINA_HOME/webapps/manager
$CATALINA_HOME/conf/Catalina/localhost/manager.xml

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles