vSphere UI must be configured to hide the server version.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-256801VCUI-70-000024SV-256801r889402_ruleCCI-001312medium
Description
Web servers will often display error messages to client users with enough information to aid in the debugging of the error. The information given back in error messages may display the web server type, version, patches installed, plug-ins and modules installed, type of code being used by the hosted application, and any backends being used for data storage. This information could be used by an attacker to blueprint what type of attacks might be successful. Therefore, vSphere UI must be configured to hide the server version at all times.
STIGDate
VMware vSphere 7.0 vCenter Appliance UI Security Technical Implementation Guide2023-06-15

Details

Check Text (C-256801r889402_chk)

At the command prompt, run the following command: # xmllint --xpath '/Server/Service/Connector[@port="${http.port}"]/@server' /usr/lib/vmware-vsphere-ui/server/conf/server.xml Expected result: server="Anonymous" If the output does not match the expected result, this is a finding.

Fix Text (F-60419r889401_fix)

Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/server.xml Navigate to each of the <Connector> nodes. Configure each <Connector> node with 'server="Anonymous"'. Restart the service with the following command: # vmon-cli --restart vsphere-ui