SV-214250r1043179_rule
V-214250
SRG-APP-000220-WSR-000201
AS24-U1-000460
CAT II
10
Determine the location of the "HTTPD_ROOT" directory and the "httpd.conf" file:
# apachectl -V | egrep -i 'httpd_root|server_config_file'
-D HTTPD_ROOT="/etc/httpd"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Add the following line to the "httpd.conf" file:
SessionMaxAge 600
Restart Apache: apachectl restart
Determine the location of the "HTTPD_ROOT" directory and the "httpd.conf" file:
# apachectl -V | egrep -i 'httpd_root|server_config_file'
-D HTTPD_ROOT="/etc/httpd"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Note: The apachectl front end is the preferred method for locating the Apache httpd file. For some Linux distributions, "apache2ctl -V" or "httpd -V" can also be used.
Search for the following directive:
"SessionMaxAge"
# cat /<path_to_file>/httpd.conf | grep -i "SessionMaxAge"
Verify the value of "SessionMaxAge" is set to "600" or less.
If the "SessionMaxAge" does not exist or is set to more than "600", this is a finding.
V-214250
False
AS24-U1-000460
Determine the location of the "HTTPD_ROOT" directory and the "httpd.conf" file:
# apachectl -V | egrep -i 'httpd_root|server_config_file'
-D HTTPD_ROOT="/etc/httpd"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Note: The apachectl front end is the preferred method for locating the Apache httpd file. For some Linux distributions, "apache2ctl -V" or "httpd -V" can also be used.
Search for the following directive:
"SessionMaxAge"
# cat /<path_to_file>/httpd.conf | grep -i "SessionMaxAge"
Verify the value of "SessionMaxAge" is set to "600" or less.
If the "SessionMaxAge" does not exist or is set to more than "600", this is a finding.
M
3996