STIGQter STIGQter: STIG Summary: VMware vSphere 8.0 vCenter Appliance Lookup Service Security Technical Implementation Guide Version: 1 Release: 1 Benchmark Date: 31 Oct 2023:

The vCenter Lookup service cookies must have "http-only" flag set.

DISA Rule

SV-259055r934823_rule

Vulnerability Number

V-259055

Group Title

SRG-APP-000033-AS-000024

Rule Version

VCLU-80-000129

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Navigate to and open:

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

Navigate to the <session-config> node and configure the <http-only> as follows:

<session-config>
<session-timeout>30</session-timeout>
<cookie-config>
<http-only>true</http-only>
<secure>true</secure>
</cookie-config>
</session-config>

Restart the service with the following command:

# vmon-cli --restart lookupsvc

Check Contents

At the command prompt, run the following command:

# xmllint --format /usr/lib/vmware-lookupsvc/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/session-config/cookie-config/http-only' -

Expected result:

<http-only>true</http-only>

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

Vulnerability Number

V-259055

Documentable

False

Rule Version

VCLU-80-000129

Severity Override Guidance

At the command prompt, run the following command:

# xmllint --format /usr/lib/vmware-lookupsvc/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/session-config/cookie-config/http-only' -

Expected result:

<http-only>true</http-only>

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

Check Content Reference

M

Target Key

5565