SV-222986r615938_rule
V-222986
SRG-APP-000380-AS-000088
TCAT-AS-001200
CAT II
10
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
Access the Tomcat server from the command line and execute the following OS command:
sudo find $CATALINA_HOME -follow -maxdepth 0 \( ! -user root -o ! -group tomcat \) -ls
If no folders are displayed, this is not a finding.
If results indicate the $CATALINA_HOME folder ownership and group membership is not set to root:tomcat, this is a finding.
V-222986
False
TCAT-AS-001200
Access the Tomcat server from the command line and execute the following OS command:
sudo find $CATALINA_HOME -follow -maxdepth 0 \( ! -user root -o ! -group tomcat \) -ls
If no folders are displayed, this is not a finding.
If results indicate the $CATALINA_HOME folder ownership and group membership is not set to root:tomcat, this is a finding.
M
4094