Rule ID
SV-256807r889420_rule
Version
V1R2
CCIs
CCI-001762
Web servers provide numerous processes, features, and functionalities that use TCP/IP ports. Some of these processes may be deemed unnecessary or too unsecure to run on a production system. The ports that vSphere UI listens on are configured in the "catalina.properties" file and must be verified as accurate to their shipping state.
At the command prompt, run the following command: # grep '\.port' /usr/lib/vmware-vsphere-ui/server/conf/catalina.properties Expected result: http.port=5090 proxy.port=443 If the output of the command does not match the expected result, this is a finding.
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/catalina.properties Navigate to the ports specification section. Set the vSphere UI port specifications according to the shipping configuration as follows: http.port=5090 proxy.port=443 Restart the service with the following command: # vmon-cli --restart vsphere-ui