SV-256808r889423_rule
V-256808
SRG-APP-000435-WSR-000147
VCUI-70-000031
CAT II
10
Navigate to and open:
/usr/lib/vmware-vsphere-ui/server/conf/server.xml
Ensure the server port is disabled:
<Server port="${shutdown.port}">
Restart the service with the following command:
# vmon-cli --restart vsphere-ui
At the command prompt, run the following commands:
# xmllint --format /usr/lib/vmware-vsphere-ui/server/conf/server.xml | sed '2 s/xmlns=".*"//g' | xmllint --xpath '/Server/@port' -
Expected result:
port="${shutdown.port}"
If the output does not match the expected result, this is a finding.
# grep shutdown /etc/vmware/vmware-vmon/svcCfgfiles/vsphere-ui.json|sed -e 's/^[ ]*//'
Expected result:
"-Dshutdown.port=-1",
If the output does not match the expected result, this is a finding.
V-256808
False
VCUI-70-000031
At the command prompt, run the following commands:
# xmllint --format /usr/lib/vmware-vsphere-ui/server/conf/server.xml | sed '2 s/xmlns=".*"//g' | xmllint --xpath '/Server/@port' -
Expected result:
port="${shutdown.port}"
If the output does not match the expected result, this is a finding.
# grep shutdown /etc/vmware/vmware-vmon/svcCfgfiles/vsphere-ui.json|sed -e 's/^[ ]*//'
Expected result:
"-Dshutdown.port=-1",
If the output does not match the expected result, this is a finding.
M
5528