SV-256781r889342_rule
V-256781
SRG-APP-000001-WSR-000002
VCUI-70-000004
CAT II
10
Navigate to and open:
/usr/lib/vmware-vsphere-ui/server/conf/context.xml
Add the following configuration to the <Context> node:
useHttpOnly="true"
Example:
<Context useHttpOnly="true" sessionCookieName="VSPHERE-UI-JSESSIONID" sessionCookiePath="/ui">
Restart the service with the following command:
# vmon-cli --restart vsphere-ui
At the command prompt, run the following command:
# xmllint --format /usr/lib/vmware-vsphere-ui/server/conf/context.xml | xmllint --xpath '/Context/@useHttpOnly' -
Expected result:
useHttpOnly="true"
If the output does not match the expected result, this is a finding.
V-256781
False
VCUI-70-000004
At the command prompt, run the following command:
# xmllint --format /usr/lib/vmware-vsphere-ui/server/conf/context.xml | xmllint --xpath '/Context/@useHttpOnly' -
Expected result:
useHttpOnly="true"
If the output does not match the expected result, this is a finding.
M
5528