簡介
在 CVE-2021-21972 VMware vCenter Server 遠程代碼漏洞中,攻擊者可直接通過443端口構造惡意請求,執行任意代碼,控制vCenter。
影響版本
VMware vCenter Server 7.0系列 < 7.0.U1c
VMware vCenter Server 6.7系列 < 6.7.U3l
VMware vCenter Server 6.5系列 < 6.5 U3n
VMware ESXi 7.0系列 < ESXi70U1c-17325551
VMware ESXi 6.7系列 < ESXi670-202102401-SG
VMware ESXi 6.5系列 < ESXi650-202102101-SG
漏洞判斷
https://ip/ui/vropspluginui/rest/services/uploadova
- 可能存在漏洞
- 不存在漏洞
漏洞復現
可以通過fofa搜索到 vcenter 服務器
title="+ ID_VC_Welcome +" && country="US"
使用 poc 驗證漏洞是否存在
使用 exp 利用漏洞,寫入冰蠍3.0 webshell
參考
https://github.com/NS-Sp4ce/CVE-2021-21972
https://github.com/QmF0c3UK/CVE-2021-21972-vCenter-6.5-7.0-RCE-POC