
CVE-2024-6387の概念実証エクスプロイト。これは、glibcベースのLinuxシステム上のOpenSSHサーバー(sshd)におけるシグナルハンドラの競合状態であり、rootとしてリモートコード実行を可能にします。
このリポジトリは、glibcベースのLinuxシステムにおけるOpenSSHサーバー(sshd)のシグナルハンドラの競合状態を標的とする脆弱性CVE-2024-6387のPoCを含んでいます。この脆弱性により、SIGALRMハンドラ内で非同期シグナル安全でない関数を呼び出すことで、リモートからrootとしてコードを実行できます。
リポジトリをクローンして使用する場合:
git clone https://github.com/jocker2410/CVE-2024-6387_poc.git && cd CVE-2024-6387_poc
# adapt the ip-addr.list file and insert the appropriate IP address. Please note the spelling, you must either insert simple IPv4 addresses or with port separated by a colon.
python3 CVE-2024-6387_poc.py
🚀 自分のシステムでのみテストして楽しんでください ;) 🚀