SV-99651r1_rule
V-89001
SRG-APP-000251-WSR-000157
VROM-TC-000655
CAT II
10
Navigate to and open /usr/lib/vmware-casa/casa-webapp/conf/web.xml.
Configure the <web-app> node with the <filter> node listed below.
<filter>
<filter-name>setCharacterEncodingFilter</filter-name>
<filter-class>org.apache.catalina.filters.SetCharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
<param-name>ignore</param-name>
<param-value>false</param-value>
</init-param>
<async-supported>true</async-supported>
</filter>
<filter-mapping>
<filter-name>setCharacterEncodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Navigate to and open /usr/lib/vmware-casa/casa-webapp/conf/web.xml.
Verify that the 'setCharacterEncodingFilter' <filter> has been specified with the following command:
grep -B 2 -A 7 setCharacterEncodingFilter /usr/lib/vmware-casa/casa-webapp/conf/web.xml
If the “setCharacterEncodingFilter” filter has not been specified or is commented out, this is a finding.
V-89001
False
VROM-TC-000655
Navigate to and open /usr/lib/vmware-casa/casa-webapp/conf/web.xml.
Verify that the 'setCharacterEncodingFilter' <filter> has been specified with the following command:
grep -B 2 -A 7 setCharacterEncodingFilter /usr/lib/vmware-casa/casa-webapp/conf/web.xml
If the “setCharacterEncodingFilter” filter has not been specified or is commented out, this is a finding.
M
3441