SV-239704r679218_rule
V-239704
SRG-APP-000266-WSR-000159
VCUI-67-000023
CAT II
10
Navigate to and open /usr/lib/vmware-vsphere-ui/server/conf/server.xml.
Locate the following Host block:
<Host name="localhost"" ...>
...
</Host>
Inside this block, add the following on a new line:
<Valve className="org.apache.catalina.valves.ErrorReportValve" showServerInfo="false"/>
At the command prompt, execute 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"/>
If the output of the command does not match the expected result, this is a finding.
V-239704
False
VCUI-67-000023
At the command prompt, execute 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"/>
If the output of the command does not match the expected result, this is a finding.
M
5334