STIGQter STIGQter: STIG Summary: VMware vSphere 7.0 vCenter Appliance UI Security Technical Implementation Guide Version: 1 Release: 2 Benchmark Date: 26 Jul 2023:

vSphere UI must be configured to show error pages with minimal information.

DISA Rule

SV-256802r889405_rule

Vulnerability Number

V-256802

Group Title

SRG-APP-000266-WSR-000159

Rule Version

VCUI-70-000025

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Navigate to and open:

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

Locate the following Host block:

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

Inside this block, remove any existing Valve with className="org.apache.catalina.valves.ErrorReportValve" and add the following:

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

Restart the service with the following command:

# vmon-cli --restart vsphere-ui

Check Contents

At the command prompt, run the following command:

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

Expected result:

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

If the output of the command does not match the expected result, this is a finding.

Vulnerability Number

V-256802

Documentable

False

Rule Version

VCUI-70-000025

Severity Override Guidance

At the command prompt, run the following command:

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

Expected result:

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

If the output of the command does not match the expected result, this is a finding.

Check Content Reference

M

Target Key

5528