AS24-W1-000640 - The Apache web server must set an absolute timeout for sessions.

Information

Leaving sessions open indefinitely is a major security risk. An attacker can easily use an already authenticated session to access the hosted application as the previously authenticated user. By closing sessions after an absolute period of time, the user is forced to reauthenticate, guaranteeing the session is still in use. Enabling an absolute timeout for sessions closes sessions that are still active. Examples would be a runaway process accessing the Apache web server or an attacker using a hijacked session to slowly probe the Apache web server.

Solution

Open the <'INSTALL PATH'>\conf\httpd.conf file.

Set the 'SessionMaxAge' directive to a value of '600' or less; add the directive if it does not exist.

Restart the Apache service.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apache_Server_2-4_Windows_Y23M01_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-12, CAT|II, CCI|CCI-002361, Rule-ID|SV-214341r879673_rule, STIG-ID|AS24-W1-000640, STIG-Legacy|SV-102521, STIG-Legacy|V-92433, Vuln-ID|V-214341

Plugin: Windows

Control ID: f8fc2e4965e7c45f3aa25d2dcfbb85a5a6130394d7ccf35e4fdb0cd44cbd661e