Lookup Service must limit the amount of time that each Transport Control Protocol (TCP) connection is kept alive.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-256706SRG-APP-000001-WSR-000001VCLU-70-000001SV-256706r888709_rule2023-06-151
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 request 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-lookupsvc/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-lookupsvc/conf/server.xml Configure the <Connector> node with the value: connectionTimeout="60000" Example: <Connector .. connectionTimeout="60000" ..> Restart the service with the following command: # vmon-cli --restart lookupsvc