SV-222979r615938_rule
V-222979
SRG-APP-000295-AS-000263
TCAT-AS-000970
CAT II
10
From the Tomcat server as a privileged user:
To affect session timeout for all applications including the management application, edit the:
$CATALINA_BASE/conf/web.xml file.
To affect session timeout for the management application only, edit the:
$CATALINA_BASE/webapps/manager/META-INF/web.xml file.
Locate the session-timeout setting located within the session-config element.
Modify the session-timeout setting to be 10 minutes.
Save the file.
sudo systemctl restart tomcat
sudo systemctl daemon-reload
If the manager application has been deleted from the system, this is not a finding.
From the Tomcat server as a privileged user, run the following commands:
sudo grep -i session-timeout $CATALINA_BASE/webapps/manager/META-INF/web.xml
sudo grep -i session-timeout
$CATALINA_BASE/conf/web.xml
If the session-timeout setting is not configured to be 10 minutes in at least one of these files, this is a finding.
V-222979
False
TCAT-AS-000970
If the manager application has been deleted from the system, this is not a finding.
From the Tomcat server as a privileged user, run the following commands:
sudo grep -i session-timeout $CATALINA_BASE/webapps/manager/META-INF/web.xml
sudo grep -i session-timeout
$CATALINA_BASE/conf/web.xml
If the session-timeout setting is not configured to be 10 minutes in at least one of these files, this is a finding.
M
4094