SV-259124r1210446_rule
V-259124
SRG-APP-000141-AS-000095
VCUI-80-000134
CAT II
10
Navigate to and open:
/usr/lib/vmware-vsphere-ui/server/conf/catalina.properties
Add or modify the setting "shutdown.port=-1" in the "catalina.properties" file.
Navigate to and open:
/usr/lib/vmware-vsphere-ui/server/conf/server.xml
Configure the <Server> node with the value:
port="${shutdown.port}"
Restart the service with the following command:
# vmon-cli --restart vsphere-ui
At the command prompt, run the following commands:
# xmllint --xpath "//Server/@port" /usr/lib/vmware-vsphere-ui/server/conf/server.xml
# grep shutdown.port /etc/vmware/vmware-vmon/svcCfgfiles/vsphere-ui.json
Example results:
port="${shutdown.port}"
"-Dshutdown.port=-1",
If "port" does not equal "shutdown.port=-1", this is a finding.
If "shutdown.port" does not equal "-1", this is a finding.
V-259124
False
VCUI-80-000134
At the command prompt, run the following commands:
# xmllint --xpath "//Server/@port" /usr/lib/vmware-vsphere-ui/server/conf/server.xml
# grep shutdown.port /etc/vmware/vmware-vmon/svcCfgfiles/vsphere-ui.json
Example results:
port="${shutdown.port}"
"-Dshutdown.port=-1",
If "port" does not equal "shutdown.port=-1", this is a finding.
If "shutdown.port" does not equal "-1", this is a finding.
M
5568