SV-239763r679516_rule
V-239763
SRG-APP-000266-WSR-000142
VCFL-67-000022
CAT II
10
Navigate to and open /usr/lib/vmware-vsphere-client/server/configuration/conf/web.xml.
Inspect the file and ensure that it contains the following section:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
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 '/web-app/welcome-file-list' -
Expected result:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
If the output of the command does not match the expected result, this is a finding.
V-239763
False
VCFL-67-000022
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 '/web-app/welcome-file-list' -
Expected result:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
If the output of the command does not match the expected result, this is a finding.
M
5336