SV-256802r889405_rule
V-256802
SRG-APP-000266-WSR-000159
VCUI-70-000025
CAT II
10
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
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.
V-256802
False
VCUI-70-000025
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.
M
5528