VMware Workspace ONE Access 和 Identity Manager 通过 SSTI 实现远程代码执行。
CVE-2022-22954 - PoC SSTI
使用方法:
CVE-2022-22954.py [-h] -m SET_MODE [-i IP] [-c CMD]
optional arguments:
-h, --help show this help message and exit
-m SET_MODE, --mode SET_MODE
Available modes: shodan | file | manual
-i IP, --ip IP Host IP
-c CMD, --cmd CMD Command string
这仅是一个PoC。请自行承担风险使用,不要在生产环境或真实环境中使用。不要问我代码为什么是这样,或者它好不好,我不在乎。我不是一个酷炫的程序员,我的代码很丑。
zoomeye search 'iconhash:-1250474341' -num 780 -filter=ip,port
zoomeye search 'banner:/SAAS/auth/login' -num 900 -filter=ip,port
shodan search "http.favicon.hash:-1250474341" --fields=ip_str,port --separator ":" --limit 1000 | grep ''
shodan search 'title:"Workspace ONE Access"' --fields=ip_str,port --separator ":" --limit 1000 | grep ''