STIGQter STIGQter: STIG Summary: VMware vSphere 6.7 UI Tomcat Security Technical Implementation Guide Version: 1 Release: 1 Benchmark Date: 09 Mar 2021:

vSphere UI must protect cookies from XSS.

DISA Rule

SV-239685r679161_rule

Vulnerability Number

V-239685

Group Title

SRG-APP-000001-WSR-000002

Rule Version

VCUI-67-000004

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:

useHttpOnly="true"

Example:

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

Check Contents

At the command prompt, execute 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.

Vulnerability Number

V-239685

Documentable

False

Rule Version

VCUI-67-000004

Severity Override Guidance

At the command prompt, execute 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.

Check Content Reference

M

Target Key

5334

Comments