STIGQter STIGQter: STIG Summary: VMware vSphere 7.0 vCenter Appliance UI Security Technical Implementation Guide Version: 1 Release: 2 Benchmark Date: 26 Jul 2023:

vSphere UI must restrict its cookie path.

DISA Rule

SV-256795r889384_rule

Vulnerability Number

V-256795

Group Title

SRG-APP-000223-WSR-000011

Rule Version

VCUI-70-000018

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

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">

Restart the service with the following command:

# vmon-cli --restart vsphere-ui

Check Contents

At the command prompt, run the following command:

# xmllint --format /usr/lib/vmware-vsphere-ui/server/conf/context.xml | xmllint --xpath '/Context/@sessionCookiePath' -

Expected result:

sessionCookiePath="/ui"

If the output does not match the expected result, this is a finding.

Vulnerability Number

V-256795

Documentable

False

Rule Version

VCUI-70-000018

Severity Override Guidance

At the command prompt, run the following command:

# xmllint --format /usr/lib/vmware-vsphere-ui/server/conf/context.xml | xmllint --xpath '/Context/@sessionCookiePath' -

Expected result:

sessionCookiePath="/ui"

If the output does not match the expected result, this is a finding.

Check Content Reference

M

Target Key

5528