SV-259144r1003700_rule
V-259144
SRG-APP-000141-WSR-000083
VCLD-80-000033
CAT II
10
Navigate to and open:
/var/lib/vmware/cap-lighttpd/lighttpd.conf
Add or reconfigure the following value:
url.access-deny = ( "~", ".inc" )
Restart the service with the following command:
# systemctl restart cap-lighttpd
At the command prompt, run the following command:
# grep "url.access-deny" /var/lib/vmware/cap-lighttpd/lighttpd.conf
Example result:
url.access-deny = ( "~", ".inc" )
If "url.access-deny" is not set to "( "~", ".inc" )", 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-259144
False
VCLD-80-000033
At the command prompt, run the following command:
# grep "url.access-deny" /var/lib/vmware/cap-lighttpd/lighttpd.conf
Example result:
url.access-deny = ( "~", ".inc" )
If "url.access-deny" is not set to "( "~", ".inc" )", 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