SV-259126r935282_rule
V-259126
SRG-APP-000141-AS-000095
VCUI-80-000137
CAT II
10
Navigate to and open:
/usr/lib/vmware-vsphere-ui/server/conf/web.xml
Find and remove the entire block returned in the check.
Example:
<init-param>
<param-name>listings</param-name>
<param-value>true</param-value>
</init-param>
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/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '//param-name[text()="listings"]/parent::init-param' -
Example result:
XPath set is empty
If the "listings" parameter is specified and is not "false", this is a finding.
If the "listings" parameter does not exist, this is not a finding.
V-259126
False
VCUI-80-000137
At the command prompt, run the following command:
# xmllint --format /usr/lib/vmware-vsphere-ui/server/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '//param-name[text()="listings"]/parent::init-param' -
Example result:
XPath set is empty
If the "listings" parameter is specified and is not "false", this is a finding.
If the "listings" parameter does not exist, this is not a finding.
M
5568