转自:VMware多个高危漏洞通告 – 绿盟科技技术博客 (nsfocus.net)
一、漏洞概述
2021年2月23日,VMware官方发布安全通告,披露了vSphere Client、ESXi的两个高危漏洞。
CVE-2021-21972:vSphere Client(HTML5)在vCenter Server插件vRealize Operations中包含一个远程执行代码漏洞,CVSSv3评分9.8。受影响的vRealize Operations插件为默认安装。
CVE-2021-21974:ESXi中使用的OpenSLP存在堆溢出漏洞,CVSSv3评分8.8。与ESXi处于同一网段中且可以访问427端口的攻击者可触发OpenSLP服务中的堆溢出问题,从而导致远程执行代码。
参考链接:https://www.vmware.com/security/advisories/VMSA-2021-0002.html
二、影响范围
CVE-2021-21972
受影响版本
不受影响版本
CVE-2021-21974
受影响版本
不受影响版本
三、漏洞防护
3.1官方升级
目前官方已在最新版本中修复了该漏洞,请受影响的用户尽快升级版本进行防护,对应产品版本的下载链接及文档如下:
产品版本 | 下载链接 | 操作文档 |
VMware ESXi 7.0 ESXi70U1c-17325551 | https://my.vmware.com/group/vmware/patch | https://docs.vmware.com/en/VMware-vSphere/7.0/rn/vsphere-esxi-70u1c.html |
VMware ESXi 6.7 ESXi670-202102401-SG | https://docs.vmware.com/en/VMware-vSphere/6.7/rn/esxi670-202102001.html |
|
VMware ESXi 6.5 ESXi650-202102101-SG | https://docs.vmware.com/en/VMware-vSphere/6.5/rn/esxi650-202102001.html |
|
VMware vCloud Foundation 4.2 | https://docs.vmware.com/en/VMware-Cloud-Foundation/4.2/rn/VMware-Cloud-Foundation-42-Release-Notes.html |
|
VMware vCloud Foundation 3.10.1.2 | https://docs.vmware.com/en/VMware-Cloud-Foundation/3.10.1/rn/VMware-Cloud-Foundation-3101-Release-Notes.html |
|
vCenter Server 7.0.1 Update 1 | https://my.vmware.com/web/vmware/downloads/details?downloadGroup=VC70U1C&productId=974 | https://docs.vmware.com/en/VMware-vSphere/7.0/rn/vsphere-vcenter-server-70u1c-release-notes.html |
vCenter Server 6.7 U3l | https://my.vmware.com/web/vmware/downloads/details?downloadGroup=VC67U3L&productId=742&rPId=57171 | https://docs.vmware.com/en/VMware-vSphere/6.7/rn/vsphere-vcenter-server-67u3l-release-notes.html |
vCenter Server 6.5 U3n | https://my.vmware.com/web/vmware/downloads/details?downloadGroup=VC65U3N&productId=614&rPId=60942 | https://docs.vmware.com/en/VMware-vSphere/6.5/rn/vsphere-vcenter-server-65u3n-release-notes.html |
3.2临时防护措施
3.2.1CVE-2021-21972
可参考官方临时修复建议(https://kb.vmware.com/s/article/82374)禁用vROPS插件:
1.通过SSH远程连接到VCSA(或远程桌面连接到Windows VC)
2.备份以下文件:
/etc/vmware/vsphere-ui/compatibility-matrix.xml (vCSA)
C:\ProgramData\VMware\vCenterServer\cfg\vsphere-ui (Windows VC)
3.使用文本编辑器添加一行:
<Matrix> |
最终文件内容如下:
4.vsphere-ui服务,命令:vmon-cli -r vsphere-ui。
5.检查禁用情况:访问https://<VC-IP-or-FQDN>/ui/vropspluginui/rest/services/checkmobregister,该页面应显示404。
在VSphere Client页面的Solutions->Client Plugins中,VMware vRops Client Plugin插件应显示“incompatible”
3.2.2 CVE-2021-21974
可参考官方临时修复建议(https://kb.vmware.com/s/article/76372)禁用CIM服务器: