Check: SRG-APP-000220-WSR-000201
Web Server SRG:
SRG-APP-000220-WSR-000201
(in versions v4 r2 through v2 r2)
Title
The web server must invalidate session identifiers upon hosted application user logout or other session termination. (Cat II impact)
Discussion
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 Content
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 Text
Configure the web server to invalidate session identifiers when a session is terminated.
Additional Identifiers
Rule ID: SV-206396r961113_rule
Vulnerability ID: V-206396
Group Title: SRG-APP-000220
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001185 |
Invalidate session identifiers upon user logout or other session termination. |
Controls
Number | Title |
---|---|
SC-23(1) |
Invalidate Session Identifiers at Logout |