UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-259115 VCUI-80-000067 SV-259115r961167_rule Medium
Description
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.
STIG Date
VMware vSphere 8.0 vCenter Appliance User Interface (UI) Security Technical Implementation Guide 2024-07-11

Details

Check Text ( C-62855r935247_chk )
At the command prompt, run the following command:

# xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.ErrorReportValve"]' /usr/lib/vmware-vsphere-ui/server/conf/server.xml

Example result:



If the "ErrorReportValve" element is not defined or "showServerInfo" is not set to "false", this is a finding.
Fix Text (F-62764r935248_fix)
Navigate to and open:

/usr/lib/vmware-vsphere-ui/server/conf/server.xml

Locate the following Host block:


...


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



Restart the service with the following command:

# vmon-cli --restart vsphere-ui