UCF STIG Viewer Logo

vSphere UI must limit the number of concurrent connections permitted.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239683 VCUI-67-000002 SV-239683r679155_rule Medium
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.
STIG Date
VMware vSphere 6.7 UI Tomcat Security Technical Implementation Guide 2022-01-03

Details

Check Text ( C-42916r679153_chk )
At the command prompt, execute the following command:

# xmllint --format /usr/lib/vmware-vsphere-ui/server/conf/server.xml | sed '2 s/xmlns=".*"//g' | xmllint --xpath '/Server/Service/Connector[@port="${http.port}"]/@maxThreads' -

Expected result:

maxThreads="800"

If the output does not match the expected result, this is a finding.
Fix Text (F-42875r679154_fix)
Navigate to and open /usr/lib/vmware-vsphere-ui/server/conf/server.xml.

Configure each node with the value:

'maxThreads="800"'

Example: