UCF STIG Viewer Logo

vSphere UI must have Multipurpose Internet Mail Extensions (MIME) that invoke OS shell programs disabled.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239692 VCUI-67-000011 SV-239692r679182_rule Medium
Description
MIME mappings tell the vSphere UI what type of program various file types and extensions are and what external utilities or programs are needed to execute the file type. By ensuring that various shell script MIME types are not included in web.xml, the server is protected against malicious users tricking the server into executing shell command files.
STIG Date
VMware vSphere 6.7 UI Tomcat Security Technical Implementation Guide 2021-04-15

Details

Check Text ( C-42925r679180_chk )
At the command prompt, execute the following command:

# grep -En '(x-csh<)|(x-sh<)|(x-shar<)|(x-ksh<)' /usr/lib/vmware-vsphere-ui/server/conf/web.xml

If the command produces any output, this is a finding.
Fix Text (F-42884r679181_fix)
Navigate to and open /usr/lib/vmware-vsphere-ui/server/conf/web.xml.

Remove any and all of the following nodes lines:

application/x-csh
application/x-shar
application/x-sh
application/x-ksh