The Security Token Service must only run one webapp.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-256753VCST-70-000009SV-256753r889229_ruleCCI-000381medium
Description
VMware ships the Security Token Service on the vCenter Server Appliance (VCSA) with one webapp, in "ROOT.war". Any other ".war" file is potentially malicious and must be removed. Satisfies: SRG-APP-000131-WSR-000073, SRG-APP-000141-WSR-000075
STIGDate
VMware vSphere 7.0 vCenter Appliance STS Security Technical Implementation Guide2023-06-15

Details

Check Text (C-256753r889229_chk)

At the command prompt, run the following command: # ls /usr/lib/vmware-sso/vmware-sts/webapps/*.war Expected result: /usr/lib/vmware-sso/vmware-sts/webapps/ROOT.war If the result of this command does not match the expected result, this is a finding.

Fix Text (F-60371r889228_fix)

For each unexpected file returned in the check, run the following command: # rm /usr/lib/vmware-sso/vmware-sts/webapps/<NAME>.war Restart the service with the following command: # vmon-cli --restart sts