STIGQter STIGQter: STIG Summary: Apache Server 2.4 UNIX Server Security Technical Implementation Guide Version: 2 Release: 2 Benchmark Date: 22 Jan 2021:

The Apache web server must invalidate session identifiers upon hosted application user logout or other session termination.

DISA Rule

SV-214250r612240_rule

Vulnerability Number

V-214250

Group Title

SRG-APP-000220-WSR-000201

Rule Version

AS24-U1-000460

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Determine the location of the "HTTPD_ROOT" directory and the "httpd.conf" file:

# httpd -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

Check Contents

Determine the location of the "HTTPD_ROOT" directory and the "httpd.conf" file:

# httpd -V | egrep -i 'httpd_root|server_config_file'
-D HTTPD_ROOT="/etc/httpd"
-D SERVER_CONFIG_FILE="conf/httpd.conf"

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.

Vulnerability Number

V-214250

Documentable

False

Rule Version

AS24-U1-000460

Severity Override Guidance

Determine the location of the "HTTPD_ROOT" directory and the "httpd.conf" file:

# httpd -V | egrep -i 'httpd_root|server_config_file'
-D HTTPD_ROOT="/etc/httpd"
-D SERVER_CONFIG_FILE="conf/httpd.conf"

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.

Check Content Reference

M

Target Key

3996

Comments