UCF STIG Viewer Logo

The Apache web server must set an absolute timeout for sessions.


Finding ID Version Rule ID IA Controls Severity
V-214341 AS24-W1-000640 SV-214341r557320_rule Medium
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.
Apache Server 2.4 Windows Server Security Technical Implementation Guide 2020-09-25


Check Text ( C-15553r277526_chk )
Review the <'INSTALL PATH'>\conf\httpd.conf file.

Verify the "SessionMaxAge" directive exists.

If it does not exist, this is a finding.

If the "SessionMaxAge" directive exists but is not set to at least "1", this is a finding.
Fix Text (F-15551r557319_fix)
Edit the <'INSTALL PATH'>\conf\httpd.conf file and add or set the "SessionMaxAge" directive to "1" or more.

Restart the Apache service.