AS24-W2-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 web server or an attacker using a hijacked session to slowly probe the 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-214386r803282_rule, STIG-ID|AS24-W2-000640, STIG-Legacy|SV-102647, STIG-Legacy|V-92559, Vuln-ID|V-214386

Plugin: Windows

Control ID: dd451db3b3d606a9b060094b6e54397a5f32666d4725cf8893e7e064a481cba2