
Scanner and exploit toolkit for CVE-2025-55182, a critical pre-auth RCE in React Server Components. Includes detection, interactive shell, Docker deployment, and educational technical analysis.
A comprehensive security testing toolkit for CVE-2025-55182, a critical pre-authentication remote code execution vulnerability in React Server Components.
Want to understand this vulnerability 100%?
📖 Read our Complete Technical Analysis - Everything you need to know:
- Why React runs on the server (not just browser!)
- How the attack works with visual diagrams
- Every line of the exploit explained
- From beginner concepts to advanced exploitation
- No prerequisites required!
Perfect for: Security reports, training materials, threat analysis, or just learning!
This vulnerability affects React Server Components versions 19.0.0 through 19.2.0, impacting:
react-server-dom-parcelreact-server-dom-turbopackreact-server-dom-webpackImpact: Unauthenticated attackers can execute arbitrary code remotely through unsafe deserialization of HTTP request payloads to Server Function endpoints.
👉 Read the Complete Technical Analysis - A comprehensive guide covering:
Perfect for:
No prior knowledge required - starts from basics and builds up to advanced exploitation techniques!
FOR EDUCATIONAL AND AUTHORIZED SECURITY TESTING ONLY
This tool is intended solely for:
Warning: Unauthorized access to computer systems is illegal. Users are responsible for complying with all applicable laws and regulations. The authors assume no liability for misuse of this tool.
No dependencies required! Single bash script for quick testing.
👉 EXPLOIT_SCRIPT.md - Standalone script that:
# Single target
./exploit-cve-2025-55182.sh http://target.com
# Multiple targets
./exploit-cve-2025-55182.sh -f targets.txt
Complete toolkit with Docker, Web UI, and Nuclei integration. Continue reading below for installation.
| Feature | Description |
|---|---|
| 🐳 Docker Support | One-command deployment with Docker Compose |
| 🌐 Web Interface | User-friendly web UI for non-technical users |
| 🔍 Vulnerable Test Environment | Spin up a local vulnerable app for safe testing |
| 🎯 Remote Scanning | Test external targets for vulnerability |
| ⚡ Interactive Shell | Execute OS commands and see results in real-time |
| 📊 Multiple Scan Modes | Detection-only or full exploitation |
| 📝 Detailed Reporting | JSON and text output formats |
| 🔧 Nuclei Integration | Leverage ProjectDiscovery's powerful scanner |
Choose your installation method:
# Clone repository
git clone https://github.com/StealthMoud/CVE-2025-55182-Scanner.git
cd CVE-2025-55182-Scanner
# Start scanner
docker compose up
# Access web interface at http://localhost:3001
# Clone repository
git clone https://github.com/StealthMoud/CVE-2025-55182-Scanner.git
cd CVE-2025-55182-Scanner
# Install Nuclei (macOS)
brew install nuclei
# Make scripts executable
chmod +x scripts/*.sh
📖 Detailed Setup: See SETUP_GUIDE.md for step-by-step instructions
⚡ Quick Reference: See QUICKSTART.md for common use cases
Start Web Interface:
docker compose up
# Open browser: http://localhost:3001
Start with Vulnerable Test App:
docker compose --profile with-vulnerable-app up
# Scanner: http://localhost:3001
# Vulnerable app: http://localhost:3000
Important for Docker users: When scanning from Docker, use:
http://host.docker.internal:3000 to scan apps on your host machinehttp://vulnerable-app:3000 to scan the containerized vulnerable apphttps://example.com for external targetshttp://localhost:3001Create and test against a local vulnerable app:
# Terminal 1: Start vulnerable app
./scripts/setup-vulnerable-app.sh
# App will run on http://localhost:3000
# Terminal 2: Test it
./scripts/test-local.sh
# Execute custom commands
./scripts/test-local.sh "whoami"
./scripts/test-local.sh "pwd"
./scripts/test-local.sh "ls -la"
# Basic scan
./scripts/test-remote.sh https://target.com
# With command execution
./scripts/test-remote.sh https://target.com "id"
# Create targets file
cat > targets.txt << EOF
https://target1.com
https://target2.com
https://target3.com
EOF
# Scan all targets
./scripts/test-multiple.sh targets.txt
Basic vulnerability detection:
nuclei -t templates/cve-2025-55182.yaml -u http://localhost:3000 -v
Execute custom commands:
nuclei -t templates/cve-2025-55182-interactive.yaml \
-u http://localhost:3000 \
-var cmd="whoami" \
-v
Scan multiple targets:
nuclei -t templates/cve-2025-55182.yaml -l targets.txt -v
CVE-2025-55182-Scanner/
├── README.md # Main documentation
├── EXPLOIT_SCRIPT.md # Standalone script guide
├── QUICKSTART.md # Quick start guide
├── SETUP_GUIDE.md # Detailed setup instructions
├── LICENSE # MIT License
│
├── exploit-cve-2025-55182.sh # Standalone exploit script
│
├── Dockerfile # Docker configuration
├── docker-compose.yml # Docker Compose setup
│
├── templates/ # Nuclei templates
│ ├── cve-2025-55182.yaml # Detection template
│ └── cve-2025-55182-interactive.yaml # Interactive RCE template
│
├── scripts/ # Helper scripts
│ ├── setup-vulnerable-app.sh # Setup local vulnerable app
│ ├── test-local.sh # Test local instance
│ ├── test-remote.sh # Test remote target
│ └── test-multiple.sh # Test multiple targets
│
├── web-ui/ # Web interface
│ ├── server.js # Express server
│ ├── package.json # Dependencies
│ └── public/
│ └── index.html # Frontend
│
├── vulnerable-app/ # Vulnerable test app (generated)
│ ├── Dockerfile # Docker config
│ └── ...
│
└── docs/ # 📚 Documentation
├── TECHNICAL.md # ⭐ COMPLETE vulnerability guide
│ # - How it works (basics to advanced)
│ # - Attack flow with diagrams
│ # - Payload analysis (every line explained)
│ # - Detection & prevention
│ # - Real-world examples
└── REMEDIATION.md # Fix instructions
docs/TECHNICAL.md ⭐ Most Comprehensive Resource
The vulnerability stems from unsafe deserialization in React Server Components. Attackers can:
child_process moduleWant to understand EXACTLY how this works?
This comprehensive guide includes:
✅ Why React Server Components run on the server (not browser)
✅ How prototype pollution works in JavaScript
✅ Step-by-step attack flow with visual diagrams
✅ Every byte of the exploit payload explained
✅ How attackers gain code execution from JSON
✅ Real-world proof of concept examples
✅ Detection methods and prevention strategies
Written in plain language - no PhD required! Goes from "React basics" to "complete exploitation" in one document.
Perfect for:
If you're running a vulnerable version:
Full guide: docs/REMEDIATION.md - Complete remediation steps
🎓 Complete Technical Analysis - Our comprehensive guide
Why read our technical guide?
Used by: Security researchers, developers, penetration testers, and educators worldwide.
Contributions are welcome! To contribute:
git checkout -b feature/improvement)git commit -am 'Add new feature')git push origin feature/improvement)This project is licensed under the MIT License - see the LICENSE file for details.
StealthMoud
If you find this tool useful, please ⭐ star this repository to show your support!
Watch this repository for updates and new features.
This tool is released to help security professionals identify and remediate vulnerable systems. Always:
✅ Obtain explicit written permission before testing
✅ Report findings responsibly to affected parties
✅ Comply with all applicable laws and regulations
❌ Never use this tool for unauthorized access
❌ Never use this tool for malicious purposes
Remember: Unauthorized computer access is a crime. Test responsibly.