SV-100725r1_rule
V-90075
SRG-APP-000246-WSR-000149
VRAU-TC-000600
CAT II
10
Navigate to and open /etc/vco/app-server/web.xml.
Configure a <filter> node with the below configuration:
<filter>
<filter-name>xssfilter</filter-name>
<filter-class>com.vmware.vcops.ui.util.XssFilter</filter-class>
<init-param>
<!-- Comma separated list of URLs that will be sanitized by this filter -->
<param-name>fileIncludes</param-name>
<param-value>/vcops/services/api.js,/vcops/services/api-debug.js,/vcops/services/api-debug-doc.js</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>xssfilter</filter-name>
<url-pattern>/vcops/services/*</url-pattern>
</filter-mapping>
At the command prompt, execute the following command:
grep -B 2 -A 7 XssFilter /etc/vco/app-server/web.xml
If the XSS filter is not present, this is a finding.
V-90075
False
VRAU-TC-000600
At the command prompt, execute the following command:
grep -B 2 -A 7 XssFilter /etc/vco/app-server/web.xml
If the XSS filter is not present, this is a finding.
M
3439