Lookup Service must only run one webapp.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-256714SRG-APP-000131-WSR-000073VCLU-70-000009SV-256714r888733_rule2023-06-151
Description
VMware ships Lookup Service on the vCenter Server Appliance (VCSA) with one webapp. Any other path is potentially malicious and must be removed.
ℹ️ Check
At the command prompt, run the following command: # ls -A /usr/lib/vmware-lookupsvc/webapps/*.war Expected result: /usr/lib/vmware-lookupsvc/webapps/ROOT.war If the output does not match the expected result, this is a finding.
✔️ Fix
For each unexpected directory returned in the check, run the following command: # rm /usr/lib/vmware-lookupsvc/webapps/<NAME> Restart the service with the following command: # vmon-cli --restart lookupsvc