Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2021-21972 — Nmap NSE脚本,用于通过探测uploadova端点是否存在无限制文件上传来检测CVE-2021-21972 VMware vCenter Server RCE漏洞。 | Kitploit
工具/GitHubGitHub/alt3kx/cve-2021-21972
漏洞分析漏洞利用Web应用程序漏洞利用信息收集渗透测试远程访问工具
GitHubalt3kx/cve-2021-21972

CVE-2021-21972

Nmap NSE脚本,用于通过探测uploadova端点是否存在无限制文件上传来检测CVE-2021-21972 VMware vCenter Server RCE漏洞。

查看仓库
54155年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2021-21972(检查器)

VMware vCenter Server CVE-2021-21972 远程代码执行漏洞

该脚本基于以下路径检查是否存在 CVE-2021-21972: "/ui/vropspluginui/rest/services/uploadova"。通过 POST 请求检测,并在响应体(500)中查找单词 "uploadFile",这意味着该 vCenter 允许通过 POST 无限制接收文件。

手动检查:

root@kitploit:~
# curl -i -s -k -X $'GET' -H $'Host: <target>' -H $'User-Agent: alex666' $'https://<target>/ui/vropspluginui/rest/services/getstatus'
root@kitploit:~
# curl -i -s -k -X $'GET' -H $'Host: <target>' -H $'User-Agent: alex666'$'https://<target>/ui/vropspluginui/rest/services/uploadova'
root@kitploit:~
# curl -i -s -k -X $'POST' -H $'Host: <target>' -H $'User-Agent: alex666' -H $'Content-Type: application/x-www-form-urlencoded' -H $'Content-Length: 0' $'https://<target>/ui/vropspluginui/rest/services/uploadova'

参考:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21972
https://www.vmware.com/security/advisories/VMSA-2021-0002.html

用法

nmap -p443 --script CVE-2021-21972.nse <target>

输出

root@kitploit:~
---
-- @usage
-- nmap -p443 --script CVE-2021-21972.nse <target>
-- @output
-- PORT    STATE SERVICE
-- 443/tcp open  https
-- | CVE-2021-21972: 
-- |   存在漏洞:
-- |   vCenter 6.5-7.0 RCE
-- |     状态: 存在漏洞(可利用)
-- |     IDs:  CVE:CVE-2021-21972
-- |       vSphere Client (HTML5) 中的 vCenter Server 插件包含一个远程代码执行漏洞。
-- |       拥有网络访问端口 443 的恶意攻击者可能利用此问题,在托管 vCenter Server 的底层操作系统上以不受限制的权限执行命令。
-- |     披露日期: 2021-02-23
-- |     参考:
-- |_      https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21972

Screen Recording

作者

Alex Hernandez 又名 (@_alt3kx_)

下载工具