Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-239754 | VCFL-67-000013 | SV-239754r679489_rule | Medium |
Description |
---|
MIME mappings tell vSphere Client 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. |
STIG | Date |
---|---|
VMware vSphere 6.7 Virgo-Client Security Technical Implementation Guide | 2021-03-18 |
Check Text ( C-42987r679487_chk ) |
---|
At the command prompt, execute the following command: # grep -En '(x-csh<)|(x-sh<)|(x-shar<)|(x-ksh<)' /usr/lib/vmware-vsphere-client/server/configuration/conf/web.xml If the command produces any output, this is a finding. |
Fix Text (F-42946r679488_fix) |
---|
Open /usr/lib/vmware-vsphere-client/server/configuration/conf/web.xml in a text editor. Remove any and all of the following nodes lines: |