SV-259152r1003718_rule
V-259152
SRG-APP-000266-WSR-000159
VCLD-80-000063
CAT II
10
Navigate to and open:
/var/lib/vmware/cap-lighttpd/lighttpd.conf.
Remove the line containing "mod_status".
Note: The line may be in an included config and not in the parent config.
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|awk '/server\.modules/,/\)/'|grep mod_status
If any value is returned, 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-259152
False
VCLD-80-000063
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|awk '/server\.modules/,/\)/'|grep mod_status
If any value is returned, 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