Check: SRG-APP-000295-WSR-000012
Web Server SRG:
SRG-APP-000295-WSR-000012
(in versions v4 r2 through v3 r3)
Title
The web server must set an absolute session timeout value of eight hours or less. (Cat II impact)
Discussion
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 re-authenticate 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.
Check Content
Verify that the web server is configured to close sessions after eight hours or less. If the web server is not configured to close sessions after eight hours or less, this is a finding.
Fix Text
Configure the web server to close sessions after eight hours or less.
Additional Identifiers
Rule ID: SV-206414r962268_rule
Vulnerability ID: V-206414
Group Title: SRG-APP-000295
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-002361 |
Automatically terminate a user session after organization-defined conditions or trigger events requiring session disconnect. |
Controls
Number | Title |
---|---|
AC-12 |
Session Termination |