VCLD-67-000017 - VAMI must have Multipurpose Internet Mail Extensions (MIME) that invoke OS shell programs disabled.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Controlling what a user of a hosted application can access is part of the security posture of the web server. Any time a user can access more functionality than is needed for the operation of the hosted application poses a security issue. A user with too much access can view information that is not needed for the user's job role, or the user could use the function in an unintentional manner.

A MIME tells the web server what type of program various file types and extensions are and what external utilities or programs are needed to execute the file type. There is no reason for VAMI to have MIME types configured for shell scripts.

Solution

Navigate to and open /opt/vmware/etc/lighttpd/lighttpd.conf.

Remove any lines that reference '.sh' or '.csh' from the 'mimetype.assign' section.

See Also

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

Item Details

References: CAT|II, CCI|CCI-000381, Rule-ID|SV-239725r816799_rule, STIG-ID|VCLD-67-000017, Vuln-ID|V-239725

Plugin: Unix

Control ID: ea10b8e43cc9a98e59caed81809b734b75497cb73d4358a1f8cf963f983c5ac2