The Security Token Service must only run one webapp.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-256753SRG-APP-000131-WSR-000073VCST-70-000009SV-256753r889229_rule2023-06-151
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
ℹ️ Check
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
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