Proactive Security Virtual Summit: Proving Security in the Era of AI

POC CVE-2021-21972

Write the file supplied in the --file argument to the location specified in the --path argument. The file will be written in the context of the vsphere-ui user. If the target is vulnerable, but the exploit fails, it is likely that the vsphere-ui user does not have permissions to write to the specified path.

Zach Hanley

February 24, 2021

Attack Blogs

Proof of Concept Exploit

Proof of Concept Exploit for vCenter CVE-2021-21972

Link to Github Repo: CVE-2021-21972

Tested only on Unix VCSA targets.

Write the file supplied in the –file argument to the location specified in the –path argument. The file will be written in the context of the vsphere-ui user. If the target is vulnerable, but the exploit fails, it is likely that the vsphere-ui user does not have permissions to write to the specified path.

If writing the vsphere-ui user’s SSH authorized_keys, when SSH’ing with the keys it was observed in some cases that the vsphere-ui user’s password had expired and forced you to update it (which you cannot because no password is set).

Research credit to: http://noahblog.360.cn/vcenter-6-5-7-0-rce-lou-dong-fen-xi/

Get a demo

Your attack surface and the threat landscape are constantly evolving. Scale your security across cloud, on prem, and hybrid infrastructure with NodeZero.

Get a demo

Get a demo

Your attack surface and the threat landscape are constantly evolving. Scale your security across cloud, on prem, and hybrid infrastructure with NodeZero.

Get a demo
NodeZero pentest dashboard showing running and completed tests, host counts, and trends in impacts, weaknesses, and credentials.

NodeZero® Platform

Implement a continuous find, fix, and verify loop with NodeZero

The NodeZero platform empowers your organization to reduce your security risks by autonomously finding exploitable weaknesses in your network, giving you detailed guidance around how to prioritize and fix them, and having you immediately verify that your fixes are effective.

Explore NodeZero

Related content

PHP2Shell advisory for CVE-2026-109618 and CVE-2026-109619

PHP2Shell Exposure Depends on More Than Whether You Use PHP

October 22, 2026

PHP2Shell exposure can extend into bundled runtimes, containers, and hosted applications. Learn why identifying affected PHP is only the first step toward validating exploitability.

AhsayCBS CVE-2026-105133 and CVE-2026-105134 vulnerability research graphic

AhsayCBS Deep-Dive: Auth Bypass to RCE

October 15, 2026

Horizon3 researchers reverse engineer CVE-2026-105133 and CVE-2026-105134 in AhsayCBS, demonstrating how an authentication bypass and path traversal can be chained to create administrator accounts, upload JSP…

Switchvox CVE-2026-9586 validation demonstrating remote code execution

Off the Hook: Discovering and Observing Active Exploitation of Sangoma Switchvox CVE-2026-9586

September 1, 2026

Horizon3 researchers discovered CVE-2026-9586, an unauthenticated SQL injection vulnerability in Sangoma Switchvox that leads to remote code execution and is now being actively exploited.