Check: VCUI-67-000011
VMware vSphere 6.7 UI Tomcat STIG:
VCUI-67-000011
(in versions v1 r3 through v1 r1)
Title
vSphere UI must have Multipurpose Internet Mail Extensions (MIME) that invoke OS shell programs disabled. (Cat II impact)
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 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.
Check Content
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
Navigate to and open /usr/lib/vmware-vsphere-ui/server/conf/web.xml. Remove any and 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>
Additional Identifiers
Rule ID: SV-239692r879587_rule
Vulnerability ID: V-239692
Group Title: SRG-APP-000141-WSR-000081
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000381 |
The organization configures the information system to provide only essential capabilities. |
Controls
Number | Title |
---|---|
CM-7 |
Least Functionality |