VCLD-70-000013 - VAMI must remove all mappings to unused scripts. - cgi

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 = ( '.py' => '/usr/bin/python',
'.cgi' =>'/usr/bin/python' )

Restart the service with the following command:

# vmon-cli --restart applmgmt

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_7-0_Y23M07_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-256657r888493_rule, STIG-ID|VCLD-70-000013, Vuln-ID|V-256657

Plugin: Unix

Control ID: 87bfed068153c8ad941ee31d8d21cc68e4fdf6ace96f713a524c25cc41c6c0e6