STIGUI
V-256789CAT II — Medium severitySV-256789r960963_rule

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

Rule version VCUI-70-000012 · STIG v1 · 2026-09-09

Discussion

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 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.

Check

At the command prompt, run 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

Navigate to and open:

/usr/lib/vmware-vsphere-ui/server/conf/web.xml

Remove all of the following nodes lines:

<mime-type>application/x-csh</mime-type> <mime-type>application/x-shar</mime-type> <mime-type>application/x-sh</mime-type> <mime-type>application/x-ksh</mime-type>

Restart the service with the following command:

# vmon-cli --restart vsphere-ui 

Note: Delete the entire mime-mapping node for the target mime-type.

Example:

<mime-mapping> <extension>sh</extension> <mime-type>application/x-sh</mime-type> </mime-mapping>

Identifiers

Group ID
V-256789
Group title
SRG-APP-000141-WSR-000081
Rule ID
SV-256789r960963_rule
Check ID
C-60464r889364_chk
Fix ID
F-60407r889365_fix