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

The Security Token Service must set the welcome-file node to a default web page.

DISA Rule

SV-256766r889268_rule

Vulnerability Number

V-256766

Group Title

SRG-APP-000266-WSR-000142

Rule Version

VCST-70-000022

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Navigate to and open:

/usr/lib/vmware-sso/vmware-sts/conf/web.xml

Add the following section under the <web-apps> node:

<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>

Restart the service with the following command:

# vmon-cli --restart sts

Check Contents

At the command prompt, run the following command:

# xmllint --format /usr/lib/vmware-sso/vmware-sts/conf/web.xml | sed '2 s/xmlns=".*"//g' | xmllint --xpath '/web-app/welcome-file-list' -

Expected result:

<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>

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

Vulnerability Number

V-256766

Documentable

False

Rule Version

VCST-70-000022

Severity Override Guidance

At the command prompt, run the following command:

# xmllint --format /usr/lib/vmware-sso/vmware-sts/conf/web.xml | sed '2 s/xmlns=".*"//g' | xmllint --xpath '/web-app/welcome-file-list' -

Expected result:

<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>

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

Check Content Reference

M

Target Key

5527