SV-259055r934823_rule
V-259055
SRG-APP-000033-AS-000024
VCLU-80-000129
CAT II
10
Navigate to and open:
/usr/lib/vmware-lookupsvc/conf/web.xml
Navigate to the <session-config> node and configure the <http-only> as follows:
<session-config>
<session-timeout>30</session-timeout>
<cookie-config>
<http-only>true</http-only>
<secure>true</secure>
</cookie-config>
</session-config>
Restart the service with the following command:
# vmon-cli --restart lookupsvc
At the command prompt, run the following command:
# xmllint --format /usr/lib/vmware-lookupsvc/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/session-config/cookie-config/http-only' -
Expected result:
<http-only>true</http-only>
If the output does not match the expected result, this is a finding.
V-259055
False
VCLU-80-000129
At the command prompt, run the following command:
# xmllint --format /usr/lib/vmware-lookupsvc/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/session-config/cookie-config/http-only' -
Expected result:
<http-only>true</http-only>
If the output does not match the expected result, this is a finding.
M
5565