UCF STIG Viewer Logo

ESX Agent Manager must limit the maximum size of a POST request.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239374 VCEM-67-000003 SV-239374r674616_rule Medium
Description
The "maxPostSize" value is the maximum size in bytes of the POST that will be handled by the container FORM URL parameter parsing. Limit its size to reduce exposure to a denial-of-service attack. If "maxPostSize" is not set, the default value of 2097152 (2 MB) is used. ESX Agent Manager is configured in its shipping state to not set a value for "maxPostSize".
STIG Date
VMware vSphere 6.7 EAM Tomcat Security Technical Implementation Guide 2022-01-03

Details

Check Text ( C-42607r674614_chk )
At the command prompt, execute the following command:

# xmllint --xpath '/Server/Service/Connector[@port="${bio-custom.http.port}"]/@maxPostSize' /usr/lib/vmware-eam/web/conf/server.xml

Expected result:

XPath set is empty

If the output does not match the expected result, this is a finding.
Fix Text (F-42566r674615_fix)
Navigate to and open:

/usr/lib/vmware-eam/web/conf/server.xml

Remove any configuration for "maxPostSize" from the node.