1.2 VCLU-80-000005

Information

The vCenter Lookup service cookies must have secure flag set.

GROUP ID: V-259038RULE ID: SV-259038r960792

The secure flag is an option that can be set by the application server when sending a new cookie to the user within an HTTP Response. The purpose of the secure flag is to prevent cookies from being observed by unauthorized parties due to the transmission of a cookie in clear text.

By setting the secure flag, the browser will prevent the transmission of a cookie over an unencrypted channel.

Solution

Navigate to and open:

/usr/lib/vmware-lookupsvc/conf/web.xml

Navigate to the node and configure the setting as follows:

Restart the service with the following command:

vmon-cli --restart lookupsvc

See Also

https://workbench.cisecurity.org/benchmarks/23617