1.12 VCLU-80-000067

Information

The vCenter Lookup service "ErrorReportValve showServerInfo" must be set to "false".

GROUP ID: V-259048RULE ID: SV-259048r961167

The Error Report Valve is a simple error handler for HTTP status codes that will generate and return HTML error pages. It can also be configured to return predefined static HTML pages for specific status codes and/or exception types. Disabling "showServerInfo" will only return the HTTP status code and remove all CSS from the default nonerror-related HTTP responses.

Solution

Navigate to and open:

/usr/lib/vmware-lookupsvc/conf/server.xml

Locate the following Host block:

<Host ...>...</Host>

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

Restart the service with the following command:

vmon-cli --restart lookupsvc

See Also

https://workbench.cisecurity.org/benchmarks/23617