SV-239397r717099_rule
V-239397
SRG-APP-000266-WSR-000160
VCEM-67-000026
CAT II
10
Navigate to and open:
/usr/lib/vmware-eam/web/webapps/eam/WEB-INF/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-eam/web/webapps/eam/WEB-INF/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '//param-name[text()="debug"]/parent::init-param' -
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
Expected result:
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
If the output does not match the expected result, this is a finding.
If no lines are returned, this is NOT a finding.
V-239397
False
VCEM-67-000026
At the command prompt, execute the following command:
# xmllint --format /usr/lib/vmware-eam/web/webapps/eam/WEB-INF/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '//param-name[text()="debug"]/parent::init-param' -
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
Expected result:
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
If the output does not match the expected result, this is a finding.
If no lines are returned, this is NOT a finding.
M
5328