SV-259025r934733_rule
V-259025
SRG-APP-000141-AS-000095
VCEM-80-000137
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>
Restart the service with the following command:
# vmon-cli --restart eam
At the command prompt, run 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' -
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-259025
False
VCEM-80-000137
At the command prompt, run 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' -
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
5564