SV-222934r615938_rule
V-222934
SRG-APP-000033-AS-000024
TCAT-AS-000090
CAT II
10
From the Tomcat server console as a privileged user:
Edit the $CATALINA_BASE/conf/web.xml file.
If the "readonly" param-value does not exist, it must be created.
Ensure the "readonly" param-value for the "DefaultServlet" servlet class = "true".
From the Tomcat server run the following command:
sudo cat $CATALINA_BASE/conf/web.xml |grep -i -A5 -B2 defaultservlet
If the "readonly" param-value for the "DefaultServlet" servlet class = "false" or does not exist, this is a finding.
V-222934
False
TCAT-AS-000090
From the Tomcat server run the following command:
sudo cat $CATALINA_BASE/conf/web.xml |grep -i -A5 -B2 defaultservlet
If the "readonly" param-value for the "DefaultServlet" servlet class = "false" or does not exist, this is a finding.
M
4094