SV-259151r1003715_rule
V-259151
SRG-APP-000266-WSR-000142
VCLD-80-000062
CAT II
10
Navigate to and open:
/var/lib/vmware/cap-lighttpd/lighttpd.conf
Add or reconfigure the following value:
dir-listing.activate = "disable"
Restart the service with the following command:
# systemctl restart cap-lighttpd
At the command prompt, run the following command:
# /opt/vmware/cap_lighttpd/sbin/lighttpd -p -f /var/lib/vmware/cap-lighttpd/lighttpd.conf 2>/dev/null|grep "dir-listing.activate"
Example result:
dir-listing.activate = "disable"
If "dir-listing.activate" is not set to "disable", this is a finding.
Note: The command must be run from a bash shell and not from a shell generated by the "appliance shell". Use the "chsh" command to change the shell for the account to "/bin/bash". Refer to KB Article 2100508 for more details:
https://kb.vmware.com/s/article/2100508
V-259151
False
VCLD-80-000062
At the command prompt, run the following command:
# /opt/vmware/cap_lighttpd/sbin/lighttpd -p -f /var/lib/vmware/cap-lighttpd/lighttpd.conf 2>/dev/null|grep "dir-listing.activate"
Example result:
dir-listing.activate = "disable"
If "dir-listing.activate" is not set to "disable", this is a finding.
Note: The command must be run from a bash shell and not from a shell generated by the "appliance shell". Use the "chsh" command to change the shell for the account to "/bin/bash". Refer to KB Article 2100508 for more details:
https://kb.vmware.com/s/article/2100508
M
5571