TCAT-AS-001200 - $CATALINA_HOME folder must be owned by the root user, group tomcat.

Information

Tomcat file permissions must be restricted. The standard configuration is to have the folder where Tomcat is installed owned by the root user with the group set to tomcat. The $CATALINA_HOME environment variable should be set to the location of the root directory of the 'binary' distribution of Tomcat.

Solution

Run the following commands on the Tomcat server:

sudo find $CATALINA_HOME -maxdepth 0 ( ! -user root ) | sudo xargs chown root

sudo find $CATALINA_HOME -maxdepth 0 ( ! -group tomcat ) | sudo xargs chgrp tomcat

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-5(1), CAT|II, CCI|CCI-001813, Rule-ID|SV-222986r879753_rule, STIG-ID|TCAT-AS-001200, STIG-Legacy|SV-111495, STIG-Legacy|V-102555, Vuln-ID|V-222986

Plugin: Unix

Control ID: 9891d08359391f5035c298e496725ed82dde81305ce0d52c2f11dc2517bd5a0d