Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-259048 | VCLU-80-000067 | SV-259048r934802_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 Lookup Service Security Technical Implementation Guide | 2023-10-29 |
Check Text ( C-62788r934800_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-lookupsvc/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-62697r934801_fix) |
---|
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc |