SV-258978r1043177_rule
V-258978
SRG-APP-000142-AS-000014
VCST-80-000037
CAT II
10
Navigate to and open:
/usr/lib/vmware-sso/vmware-sts/conf/server.xml
The STS service has 2 connectors with the below pairs of ports and addresses.
Navigate to the target <Connector> node and configure the port and address as follows.
port="${bio-custom.http.port}"
address="localhost"
port="${bio-ssl-localhost.https.port}"
address="localhost"
Restart the service with the following command:
# vmon-cli --restart sts
Note: The connector with port="${bio-ssl-clientauth.https.port}" should not have address set.
At the command prompt, run the following command:
# xmllint --xpath '//Connector[not(@port = "${bio-ssl-clientauth.https.port}") and (@port = "0" or not(@address))]' /usr/lib/vmware-sso/vmware-sts/conf/server.xml
Expected result:
XPath set is empty
If any connectors are returned, this is a finding.
V-258978
False
VCST-80-000037
At the command prompt, run the following command:
# xmllint --xpath '//Connector[not(@port = "${bio-ssl-clientauth.https.port}") and (@port = "0" or not(@address))]' /usr/lib/vmware-sso/vmware-sts/conf/server.xml
Expected result:
XPath set is empty
If any connectors are returned, this is a finding.
M
5567