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

Warning! Audit Deprecated

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

View Next Audit Version

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

Item Details

References: CAT|II, CCI|CCI-001813, Rule-ID|SV-222986r615938_rule, STIG-ID|TCAT-AS-001200, STIG-Legacy|SV-111495, STIG-Legacy|V-102555, Vuln-ID|V-222986

Plugin: Unix

Control ID: e057ab6a54ea5b5de03dabcbc491d828014cc8dff8f80a1c063d72c67b3fd33a