STIGQter STIGQter: STIG Summary: VMware vSphere 7.0 vCenter Appliance UI Security Technical Implementation Guide Version: 1 Release: 2 Benchmark Date: 26 Jul 2023:

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

DISA Rule

SV-256789r889366_rule

Vulnerability Number

V-256789

Group Title

SRG-APP-000141-WSR-000081

Rule Version

VCUI-70-000012

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

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>

Check Contents

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.

Vulnerability Number

V-256789

Documentable

False

Rule Version

VCUI-70-000012

Severity Override Guidance

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.

Check Content Reference

M

Target Key

5528