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_Y22M10_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: 98221dbc4eb0f637601bdfe47c958fcb8426867ba4647eedc72ca6dc8e36f777