VCLD-67-000019 - VAMI must remove all mappings to unused scripts - py

Information

Scripts allow server-side processing on behalf of the hosted application user or as processes needed in the implementation of hosted applications. Removing scripts not needed for application operation or deemed vulnerable helps to secure the web server. To ensure scripts are not added to the web server and run maliciously, script mappings that are not needed or used by the web server for hosted application operation must be removed.

Solution

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
)

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y23M07_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-239727r879587_rule, STIG-ID|VCLD-67-000019, Vuln-ID|V-239727

Plugin: Unix

Control ID: bfcfc4e7e3aac76900700aa1cf1656901c78d59b75b9cfc94c242fbce7d7068a