The Security Token Service must only run one webapp.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-256753 | SRG-APP-000131-WSR-000073 | VCST-70-000009 | SV-256753r889229_rule | 2023-06-15 | 1 |
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