UCF STIG Viewer Logo

The Security Token Service must have Multipurpose Internet Mail Extensions (MIME) that invoke OS shell programs disabled.


Finding ID Version Rule ID IA Controls Severity
V-239663 VCST-67-000012 SV-239663r816714_rule Medium
MIME mappings tell the Security Token Service 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.
VMware vSphere 6.7 STS Tomcat Security Technical Implementation Guide 2022-01-03


Check Text ( C-42896r816712_chk )
Connect to the PSC, whether external or embedded.

At the command prompt, execute the following command:

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

If the command produces any output, this is a finding.
Fix Text (F-42855r816713_fix)
Connect to the PSC, whether external or embedded.

Open /usr/lib/vmware-sso/vmware-sts/conf/web.xml in a text editor.

Remove the parent node of any line returned from the check.