UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-214331 AS24-W1-000460 SV-214331r505936_rule Medium
Description
Captured sessions can be reused in "replay" attacks. This requirement limits the ability of adversaries from capturing and continuing to employ previously valid session IDs. Session IDs are tokens generated by web applications to uniquely identify an application user's session. Unique session IDs help to reduce predictability of said identifiers. When a user logs out, or when any other session termination event occurs, the web server must terminate the user session to minimize the potential for an attacker to hijack that particular user session.
STIG Date
Apache Server 2.4 Windows Server Security Technical Implementation Guide 2021-09-27

Details

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

Search for the following directive:

SessionMaxAge

Verify the value of "SessionMaxAge" is set to "600" or less.

If "SessionMaxAge" does not exist or is set to more than "600", this is a finding.
Fix Text (F-15541r277497_fix)
Open the <'INSTALL PATH'>\conf\httpd.conf file.

Set the "SessionMaxAge" directive to a value of no more than "600".
Add the directive if it does not exist.

Restart the Apache service.