UCF STIG Viewer Logo

vSphere UI must be configured to hide the server version.


Overview

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

Details

Check Text ( C-42936r679213_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}"]/@server' -

Expected result:

server="Anonymous"

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

Navigate to each of the nodes.

Configure each node with 'server="Anonymous"'.