SV-223000r615938_rule
V-223000
SRG-APP-000504-AS-000229
TCAT-AS-001592
CAT II
10
From the Tomcat server as a privileged user, use the auditctl command.
sudo auditctl -w $CATALINA_HOME/lib -p wa -k tomcat
Validate the audit watch was created.
sudo auditctl -l
The user should see:
-w $CATALINA_HOME/ -p wa -k tomcat
Run the following commands From the Tomcat server as a privileged user:
Identify the home folder for the Tomcat server.
sudo grep -i -- 'catalina_home\|catalina_base' /etc/systemd/system/tomcat.service
Check the audit rules for the Tomcat folders
sudo auditctl -l $CATALINA_HOME/bin |grep -i lib
If the results do not include -w $CATALINA_HOME/lib -p wa -k tomcat, or if there are no results, this is a finding.
V-223000
False
TCAT-AS-001592
Run the following commands From the Tomcat server as a privileged user:
Identify the home folder for the Tomcat server.
sudo grep -i -- 'catalina_home\|catalina_base' /etc/systemd/system/tomcat.service
Check the audit rules for the Tomcat folders
sudo auditctl -l $CATALINA_HOME/bin |grep -i lib
If the results do not include -w $CATALINA_HOME/lib -p wa -k tomcat, or if there are no results, this is a finding.
M
4094