SV-259115r961167_rule
V-259115
SRG-APP-000266-AS-000169
VCUI-80-000067
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, add or update the following on a new line:
<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 --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.ErrorReportValve"]' /usr/lib/vmware-vsphere-ui/server/conf/server.xml
Example result:
<Valve className="org.apache.catalina.valves.ErrorReportValve" showServerInfo="false" showReport="false"/>
If the "ErrorReportValve" element is not defined or "showServerInfo" is not set to "false", this is a finding.
V-259115
False
VCUI-80-000067
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:
<Valve className="org.apache.catalina.valves.ErrorReportValve" showServerInfo="false" showReport="false"/>
If the "ErrorReportValve" element is not defined or "showServerInfo" is not set to "false", this is a finding.
M
5568