Lookup Service must disable the shutdown port.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-256735 | SRG-APP-000435-WSR-000147 | VCLU-70-000030 | SV-256735r888796_rule | 2023-06-15 | 1 |
Description
An attacker has at least two reasons to stop a web server. The first is to cause a denial of service, and the second is to put in place changes the attacker made to the web server configuration. If the Tomcat shutdown port feature is enabled, a shutdown signal can be sent to the Lookup Service through this port. To ensure availability, the shutdown port must be disabled.
ℹ️ Check
At the command prompt, run the following commands:
# xmllint --xpath '/Server/@port' /usr/lib/vmware-lookupsvc/conf/server.xml
Expected result:
port="${base.shutdown.port}"
If the output does not match the expected result, this is a finding.
✔️ Fix
Navigate to and open:
/usr/lib/vmware-lookupsvc/conf/server.xml
Ensure the server port is set as follows:
<Server port="${base.shutdown.port}">
Restart the service with the following command:
# vmon-cli --restart lookupsvc