SV-222947r615938_rule
V-222947
SRG-APP-000120-AS-000080
TCAT-AS-000380
CAT II
10
Run the following command on the Tomcat server:
sudo find $CATALINA_HOME/bin/*jar -follow -maxdepth 0 -type f -print0 | sudo xargs chmod 640 $CATALINA_HOME/bin/*jar
Access the Tomcat server from the command line and execute the following OS command:
sudo find $CATALINA_HOME/bin/*jar -follow -maxdepth 0 -type f \( \! -perm 640 \) -ls
If there are no results, or if .sh extensions are found, this is not a finding.
If results indicate any of the jar file permissions contained in the $CATALINA_HOME/bin folder are not set to 640, this is a finding.
V-222947
False
TCAT-AS-000380
Access the Tomcat server from the command line and execute the following OS command:
sudo find $CATALINA_HOME/bin/*jar -follow -maxdepth 0 -type f \( \! -perm 640 \) -ls
If there are no results, or if .sh extensions are found, this is not a finding.
If results indicate any of the jar file permissions contained in the $CATALINA_HOME/bin folder are not set to 640, this is a finding.
M
4094