The Apache web server must set an absolute timeout for sessions.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-214386 | AS24-W2-000640 | SV-214386r1043182_rule | CCI-002361 | medium |
| Description | ||||
| 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 web server or an attacker using a hijacked session to slowly probe the web server. | ||||
| STIG | Date | |||
| Apache Server 2.4 Windows Site Security Technical Implementation Guide | 2025-02-12 | |||
Related Frameworks
3 paths across 3 frameworks
Related Frameworks
NIST 800-531 mapping
AC-12
1.00
- DISA · 2 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1711 mapping
3.1.11
1.00
- DISA · 2 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-002361
1.00
- DISA · 2 · disa_xccdf · related
Details
Check Text (C-214386r1043182_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 the "SessionMaxAge" does not exist or is set to more than "600", this is a finding.
Fix Text (F-15595r803281_fix)
Open the <'INSTALL PATH'>\conf\httpd.conf file.
Set the "SessionMaxAge" directive to a value of "600" or less; add the directive if it does not exist.
Restart the Apache service.