VCUI-67-000023 - vSphere UI must be configured to show error pages with minimal information.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

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 not show server version information in error pages.

Solution

Navigate to and open /usr/lib/vmware-vsphere-ui/server/conf/server.xml.

Locate the following Host block:

<Host name='localhost'' ...>
...
</Host>

Inside this block, add the following on a new line:

<Valve className='org.apache.catalina.valves.ErrorReportValve' showServerInfo='false'/>

See Also

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

Item Details

References: CAT|II, CCI|CCI-001312, Rule-ID|SV-239704r679218_rule, STIG-ID|VCUI-67-000023, Vuln-ID|V-239704

Plugin: Unix

Control ID: 60be509d35798afdd203e85de43ce9b65e137d12c9e1512c98fe67ac026038c1