Lookup Service must only run one webapp.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-256714 | SRG-APP-000131-WSR-000073 | VCLU-70-000009 | SV-256714r888733_rule | 2023-06-15 | 1 |
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