SV-222957r615938_rule
V-222957
SRG-APP-000141-AS-000095
TCAT-AS-000550
CAT III
10
From the Tomcat server as a privileged user, edit the $CATALINA_BASE/conf/server.xml file.
Examine each <Connector> </Connector> element, if the element contains xpoweredBy="true", modify the statement to read ", xpoweredBy="false".
sudo systemctl restart tomcat
sudo systemctl daemon-reload
From the Tomcat server run the following OS command:
sudo cat $CATALINA_BASE/conf/server.xml |grep -i -C4 xpoweredby.
If any connector elements contain xpoweredBy="true", this is a finding.
V-222957
False
TCAT-AS-000550
From the Tomcat server run the following OS command:
sudo cat $CATALINA_BASE/conf/server.xml |grep -i -C4 xpoweredby.
If any connector elements contain xpoweredBy="true", this is a finding.
M
4094