SV-256684r888608_rule
V-256684
SRG-APP-000141-WSR-000081
VCEM-70-000012
CAT II
10
Navigate to and open:
/usr/lib/vmware-eam/web/webapps/eam/WEB-INF/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 eam
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>
At the command prompt, run the following command:
# grep -En '(x-csh<)|(x-sh<)|(x-shar<)|(x-ksh<)' /usr/lib/vmware-eam/web/webapps/eam/WEB-INF/web.xml
If the command produces any output, this is a finding.
V-256684
False
VCEM-70-000012
At the command prompt, run the following command:
# grep -En '(x-csh<)|(x-sh<)|(x-shar<)|(x-ksh<)' /usr/lib/vmware-eam/web/webapps/eam/WEB-INF/web.xml
If the command produces any output, this is a finding.
M
5524