AS24-W2-000650 - The Apache web server must set an inactive timeout for completing the TLS handshake - mod_reqtimeout

Information

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.
Timeouts for completing the TLS handshake, receiving the request headers and/or the request body from the client. If the client fails to complete each of these stages within the configured time, a 408 REQUEST TIME OUT error is sent.
For SSL virtual hosts, the handshake timeout values is the time needed to do the initial SSL handshake. If the user's browser is configured to query certificate revocation lists and the CRL server is not reachable, the initial SSL handshake may take a significant time until the browser gives up waiting for the CRL. Therefore the handshake timeout should take this possible overhead into consideration for SSL virtual hosts (if necessary). The body timeout values include the time needed for SSL renegotiation (if necessary).

Solution

Edit the <'INSTALLED PATH'>\conf\httpd.conf file and load the 'mod_reqtimeout' module.

Set the 'RequestReadTimeout' directive.

The 'RequestReadTimeout' directive must be explicitly configured (i.e., not left to a default value) to a value compatible with the organization's operations.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apache_Server_2-4_Windows_Y20M10_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-12, CAT|II, CCI|CCI-002361, Rule-ID|SV-102649r3_rule, STIG-ID|AS24-W2-000650, Vuln-ID|V-92561

Plugin: Windows

Control ID: a51bb2ac61e648a4a2015d91fb70fe210500b26f3137806dab6e20c57cf6efc8