SV-239767r679528_rule
V-239767
SRG-APP-000266-WSR-000160
VCFL-67-000026
CAT II
10
Navigate to and open /usr/lib/vmware-vsphere-client/server/configuration/conf/web.xml.
Navigate to all <debug> nodes that are not set to "0".
Set the <param-value> to "0" in all <param-name>debug</param-name> nodes.
Note: The debug setting should look like the following:
<init-param>
<param-name>debug</param-name>
<param-value>0</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()="debug"]/parent::init-param' -
Expected result:
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
If the output of the command does not match the expected result, this is a finding.
V-239767
False
VCFL-67-000026
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()="debug"]/parent::init-param' -
Expected result:
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
If the output of the command does not match the expected result, this is a finding.
M
5336