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

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-206396SRG-APP-000220SRG-APP-000220-WSR-000201SV-206396r1043179_rule2025-02-124
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.
ℹ️ Check
Review the web server documentation and deployed configuration to verify that the web server is configured to invalidate session identifiers when a session is terminated. If the web server does not invalidate session identifiers when a session is terminated, this is a finding.
✔️ Fix
Configure the web server to invalidate session identifiers when a session is terminated.