VCLD-70-000013 - 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 = ( '.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: 2d20421cfd1055c48fda5353b89c3f54284f1929822db67427db9e5fd34bd9aa