Lookup Service must limit the number of concurrent connections permitted.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-256707 | SRG-APP-000001-WSR-000001 | VCLU-70-000002 | SV-256707r888712_rule | 2023-06-15 | 1 |
Description |
---|
Resource exhaustion can occur when an unlimited number of concurrent requests are allowed on a website, facilitating a denial-of-service attack. Unless the number of requests is controlled, the web server can consume enough system resources to cause a system crash. Mitigating this kind of attack will include limiting the number of concurrent HTTP/HTTPS requests. Each incoming request requires a thread for the duration of that request. If more simultaneous requests are received than can be handled by the currently available request processing threads, additional threads will be created up to the value of the "maxThreads" attribute. |
ℹ️ Check |
---|
At the command prompt, run the following command: # xmllint --xpath '/Server/Service/Connector[@port="${bio-custom.http.port}"]/@maxThreads' /usr/lib/vmware-lookupsvc/conf/server.xml Expected result: XPath set is empty 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 In the <Connector> node, remove the "maxThreads" key/value pair. Restart the service with the following command: # vmon-cli --restart lookupsvc |