SV-100669r1_rule
V-90019
SRG-APP-000141-WSR-000083
VRAU-TC-000380
CAT II
10
Navigate to and open /etc/vcac/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 /etc/vcac/web.xml
If the jsp and jspx file extensions have not been mapped to the JSP servlet, this is a finding.
V-90019
False
VRAU-TC-000380
At the command prompt, execute the following command:
grep -E '<url-pattern>\*\.jsp</url-pattern>' -B 2 -A 2 /etc/vcac/web.xml
If the jsp and jspx file extensions have not been mapped to the JSP servlet, this is a finding.
M
3439