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_Y24M07_STIG.zip

Item Details

Category: ACCESS CONTROL

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

Plugin: Windows

Control ID: 96f133666769c3da4654ed479f9073f0a04e5bf0f55646d9e53db4f5fc93c706