VCPF-67-000002 - Performance Charts must limit the number of concurrent connections permitted.

Information

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. In Tomcat, 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.

Solution

Navigate to and open /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml.

Navigate to the <Executor> mode with the name of 'tomcatThreadPool' and configure with the value 'maxThreads='300''.

Note: The <Executor> node should be configured as follows:

<Executor maxThreads='300' minSpareThreads='50' name='tomcatThreadPool' namePrefix='tomcat-http--'/>

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y23M07_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-10, CAT|II, CCI|CCI-000054, Rule-ID|SV-239403r879511_rule, STIG-ID|VCPF-67-000002, Vuln-ID|V-239403

Plugin: Unix

Control ID: fb143dbacc3a864a89ab7d60fb0f2dd09573750bf1cbe8a101d5248f72af2a82