Check: VCPF-67-000011
VMware vSphere 6.7 Perfcharts Tomcat STIG:
VCPF-67-000011
(in versions v1 r3 through v1 r1)
Title
Performance Charts must have Multipurpose Internet Mail Extensions (MIME) that invoke OS shell programs disabled. (Cat II impact)
Discussion
MIME mappings tell the Performance Charts 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-perfcharts/tc-instance/conf/web.xml If the command produces any output, this is a finding.
Fix Text
Open /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml in a text editor. 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-239412r879587_rule
Vulnerability ID: V-239412
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 |