SV-239764r679519_rule
V-239764
SRG-APP-000266-WSR-000142
VCFL-67-000023
CAT II
10
Navigate to and open /usr/lib/vmware-vsphere-client/server/configuration/conf/web.xml.
Set the <param-value> to "false" in all <param-name>listing</param-name> nodes.
Note: The setting should look like the following:
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>
At the command prompt, execute the following command:
# xmllint --format /usr/lib/vmware-vsphere-client/server/configuration/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '//param-name[text()="listings"]/parent::init-param' -
Expected result:
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>
If the output of the command does not match the expected result, this is a finding.
V-239764
False
VCFL-67-000023
At the command prompt, execute the following command:
# xmllint --format /usr/lib/vmware-vsphere-client/server/configuration/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '//param-name[text()="listings"]/parent::init-param' -
Expected result:
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>
If the output of the command does not match the expected result, this is a finding.
M
5336