The Security Token Service must limit the amount of time that each Transmission Control Protocol (TCP) connection is kept alive.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-256745 | SRG-APP-000001-WSR-000001 | VCST-70-000001 | SV-256745r889205_rule | 2023-06-15 | 1 |
Description
Denial of service (DoS) is one threat against web servers. Many DoS attacks attempt to consume web server resources in such a way that no more resources are available to satisfy legitimate requests.
In Tomcat, the "connectionTimeout" attribute sets the number of milliseconds the server will wait after accepting a connection for the requested Uniform Resource Identifier (URI) line to be presented. This timeout will also be used when reading the request body (if any). This prevents idle sockets that are not sending HTTP requests from consuming system resources and potentially denying new connections.
ℹ️ Check
At the command prompt, run the following command:
# xmllint --xpath '/Server/Service/Connector[@port="${bio-custom.http.port}"]/@connectionTimeout' /usr/lib/vmware-sso/vmware-sts/conf/server.xml
Expected result:
connectionTimeout="60000"
If the output does not match the expected result, this is a finding.
✔️ Fix
Navigate to and open:
/usr/lib/vmware-sso/vmware-sts/conf/server.xml
Navigate to each of the <Connector> nodes.
Configure each <Connector> node with the value:
connectionTimeout="60000"
Restart the service with the following command:
# vmon-cli --restart sts