SV-239394r674676_rule
V-239394
SRG-APP-000266-WSR-000142
VCEM-67-000023
CAT II
10
Navigate to and open:
/usr/lib/vmware-eam/web/webapps/eam/WEB-INF/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>
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()="listings"]/parent::init-param' -
Expected result:
XPath set is empty
If the output of the command does not match the expected result, this is a finding.
V-239394
False
VCEM-67-000023
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()="listings"]/parent::init-param' -
Expected result:
XPath set is empty
If the output of the command does not match the expected result, this is a finding.
M
5328