SV-99745r1_rule
V-89095
SRG-APP-000439-WSR-000154
VROM-TC-000950
CAT II
10
Navigate to and open /usr/lib/vmware-vcops/tomcat-enterprise/conf/context.xml.
Navigate to the <Context> node.
Add the 'useHttpOnly="true"' setting to the <Context> node.
Note: The <Context> node should be configured per the below:
<Context useHttpOnly="true">
At the command prompt, execute the following command:
grep useHttpOnly /usr/lib/vmware-vcops/tomcat-enterprise/conf/context.xml
If the value of “useHttpOnly” is not set to "true" or is missing, this is a finding.
Expected Result:
<Context useHttpOnly="true">
V-89095
False
VROM-TC-000950
At the command prompt, execute the following command:
grep useHttpOnly /usr/lib/vmware-vcops/tomcat-enterprise/conf/context.xml
If the value of “useHttpOnly” is not set to "true" or is missing, this is a finding.
Expected Result:
<Context useHttpOnly="true">
M
3441