VCUI-67-000032 - vSphere UI must restrict its cookie path.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

When the cookie parameters are not set properly (i.e., domain and path parameters), cookies can be shared within hosted applications residing on the same web server or to applications hosted on different web servers residing on the same domain.

vSphere UI is bound to the '/ui' virtual path behind the reverse proxy, and its cookies are configured as such. This configuration must be confirmed and maintained.

Solution

Navigate to and open /usr/lib/vmware-vsphere-ui/server/conf/context.xml.

Add the following configuration to the <Context> node:

sessionCookiePath='/ui'

Example:

<Context useHttpOnly='true' sessionCookieName='VSPHERE-UI-JSESSIONID' sessionCookiePath='/ui'>

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_STIG.zip

Item Details

References: CAT|II, CCI|CCI-001664, Rule-ID|SV-239713r679245_rule, STIG-ID|VCUI-67-000032, Vuln-ID|V-239713

Plugin: Unix

Control ID: 79cf52fbe7ce5cc9e356e030a66e0a40505c37ee1886dbdaf46a0ee37f6b0774