Horizon3.ai
Horizon3.ai

Table of Contents

Option 1: For vCenter Server Appliances

  1. Connect to the vCSA using an SSH session and root credentials.
  2. Backup the /etc/vmware/vsphere-ui/compatibility-matrix.xml file.
  3. Open the compatibility-matrix.xml file in a text editor:
  • Note: Content of an unedited file should look similar to the following: Example unedited file
  1. To disable all plugins with disclosed vulnerabilities, add the following lines as shown below:
  • Note: These entries should be added between the –> and <!— entries highlighted above.
<PluginPackage id="com.vmware.vrops.install" status="incompatible"/>
<PluginPackage id="com.vmware.vsphere.client.h5vsan" status="incompatible"/>
<PluginPackage id="com.vmware.vrUi" status="incompatible"/>
<PluginPackage id="com.vmware.vum.client" status="incompatible"/>
<PluginPackage id="com.vmware.h4.vsphere.client" status="incompatible"/>
  1. The file should look like the following image: Final edit
  2. Save and close the compatibility-matrix.xml file.
  3. Stop and restart the vsphere-ui service using these commands:
service-control --stop vsphere-ui
service-control --start vsphere-ui

Option 2: For Windows-based vCenter Servers

  1. Use Remote Desktop to access the Windows-based vCenter Server.
  2. Take a backup of the C:\ProgramData\VMware\vCenterServer\cfg\vsphere-ui\compatibility-matrix.xml file.
  3. Open the compatibility-matrix.xml file in a text editor: open file
  4. To disable all plugins with disclosed vulnerabilities, add the following lines as shown below:
  • Note: These entries should be added between the –> and <!— entries highlighted above
<PluginPackage id="com.vmware.vrops.install" status="incompatible"/>
<PluginPackage id="com.vmware.vsphere.client.h5vsan" status="incompatible"/>
<PluginPackage id="com.vmware.vrUi" status="incompatible"/>
<PluginPackage id="com.vmware.vum.client" status="incompatible"/>
<PluginPackage id="com.vmware.h4.vsphere.client" status="incompatible"/>
  1. The file should look like the photo below: Final edit
  2. Save and close the file.
  3. In a Windows command prompt, stop and restart the vsphere-ui service using these commands:
C:\Program Files\VMware\vCenter Server\bin> service-control --stop vsphere-ui
C:\Program Files\VMware\vCenter Server\bin> service-control --start vsphere-ui