Check: VCST-67-000012
VMware vSphere 6.7 STS Tomcat STIG:
VCST-67-000012
(in versions v1 r3 through v1 r2)
Title
The Security Token Service must have Multipurpose Internet Mail Extensions (MIME) that invoke OS shell programs disabled. (Cat II impact)
Discussion
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.
Check Content
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
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 <mime-mapping> node of any line returned from the check. Example: <mime-mapping> <extension>csh</extension> <mime-type>application/x-csh</mime-type> </mime-mapping>
Additional Identifiers
Rule ID: SV-239663r879587_rule
Vulnerability ID: V-239663
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 |