SV-239727r679291_rule
V-239727
SRG-APP-000141-WSR-000082
VCLD-67-000019
CAT II
10
Navigate to and open /opt/vmware/etc/lighttpd/lighttpd.conf.
Configure the "cgi.assign" section to the following:
cgi.assign = (
".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/perl",
".rb" => "/usr/bin/ruby",
".erb" => "/usr/bin/eruby",
".py" => "/usr/bin/python",
# 5
)
At the command prompt, execute the following command:
# /opt/vmware/sbin/vami-lighttpd -p -f /opt/vmware/etc/lighttpd/lighttpd.conf|awk '/cgi\.assign/,/\)/'
Expected result:
cgi.assign = (
".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/perl",
".rb" => "/usr/bin/ruby",
".erb" => "/usr/bin/eruby",
".py" => "/usr/bin/python",
# 5
)
If the output does not match the expected result, this is a finding.
V-239727
False
VCLD-67-000019
At the command prompt, execute the following command:
# /opt/vmware/sbin/vami-lighttpd -p -f /opt/vmware/etc/lighttpd/lighttpd.conf|awk '/cgi\.assign/,/\)/'
Expected result:
cgi.assign = (
".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/perl",
".rb" => "/usr/bin/ruby",
".erb" => "/usr/bin/eruby",
".py" => "/usr/bin/python",
# 5
)
If the output does not match the expected result, this is a finding.
M
5335