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_V3R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 45df17b593f86f6e51e4f1d94c577b212fe2afd6adf96f5d32bf52e5badfbcc8