SV-100665r1_rule
V-90015
SRG-APP-000141-WSR-000083
VRAU-TC-000370
CAT II
10
Navigate to and open /opt/vmware/horizon/workspace/conf/web.xml.
Navigate to and locate the mapping for the JSP servlet. It is the <servlet-mapping> node that contains <servlet-name>jsp</servlet-name>.
Configure the <servlet-mapping> node to look like the code snippet below:
<!-- The mappings for the JSP servlet -->
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jsp</url-pattern>
<url-pattern>*.jspx</url-pattern>
</servlet-mapping>
At the command prompt, execute the following command:
grep -E '<url-pattern>\*\.jsp</url-pattern>' -B 2 -A 2 /opt/vmware/horizon/workspace/conf/web.xml
If the jsp and jspx file extensions have not been mapped to the JSP servlet, this is a finding.
V-90015
False
VRAU-TC-000370
At the command prompt, execute the following command:
grep -E '<url-pattern>\*\.jsp</url-pattern>' -B 2 -A 2 /opt/vmware/horizon/workspace/conf/web.xml
If the jsp and jspx file extensions have not been mapped to the JSP servlet, this is a finding.
M
3439