Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
react2shell-scanner — CVE-2025-55182 & CVE-2025-66478 Detection Tool for Next.js RSC RCE | Kitploit
Tools/GitHubGitHub/alessiodos/react2shell-scanner
Vulnerability ScannersExploitationWeb Application ExploitationWAF BypassWeb SecurityPenetration Testing
GitHubalessiodos/react2shell-scanner

react2shell-scanner

CVE-2025-55182 & CVE-2025-66478 Detection Tool for Next.js RSC RCE

View Repository
128 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

react2shell-scanner

Python 3.9+ MIT License CVE-2025-55182 CVE-2025-66478

A high-fidelity command-line vulnerability scanner for detecting CVE-2025-55182 and CVE-2025-66478 (Remote Code Execution) in Next.js applications using React Server Components (RSC).

🚨 Vulnerability Overview

These critical vulnerabilities affect Next.js applications using React Server Components, allowing unauthenticated remote code execution through crafted multipart POST requests.

Affected versions:

  • Next.js versions using React Server Components with vulnerable action handling

For technical details, see: Assetnote Research

⚙️ How It Works

The scanner sends a crafted multipart POST request containing an RCE proof-of-concept payload that executes a deterministic math operation (41*271 = 11111). Vulnerable hosts return the result in the X-Action-Redirect response header as /login?a=11111.

Detection Modes

ModeDescriptionUse Case
RCE PoC (default)Executes harmless math operation on targetQuick vulnerability confirmation
Safe CheckSide-channel detection via error responsesWhen code execution is not desired

📦 Installation

root@kitploit:~
# Clone the repository
git clone https://github.com/YOUR_USERNAME/react2shell-scanner.git
cd react2shell-scanner

# Install dependencies
pip install -r requirements.txt

🚀 Usage

Basic Scan

root@kitploit:~
# Scan a single target
python scanner.py -u https://example.com

# Scan multiple targets from file
python scanner.py -l hosts.txt

Advanced Options

root@kitploit:~
# Multi-threaded scan with JSON output
python scanner.py -l hosts.txt -t 20 -o results.json

# Scan with custom headers
python scanner.py -u https://example.com -H "Authorization: Bearer token" -H "Cookie: session=abc"

# Safe detection mode (no code execution)
python scanner.py -u https://example.com --safe-check

# Scan Windows targets
python scanner.py -u https://example.com --windows

# WAF bypass mode
python scanner.py -u https://example.com --waf-bypass

# Vercel-specific WAF bypass
python scanner.py -u https://example.com --vercel-waf-bypass

# Combine options
python scanner.py -l hosts.txt -t 50 --waf-bypass --windows -o results.json

📋 Options Reference

📊 Output Example

root@kitploit:~
╔═══════════════════════════════════════════════════════════════╗
║                    react2shell-scanner                        ║
║   CVE-2025-55182 & CVE-2025-66478 Detection Tool             ║
╚═══════════════════════════════════════════════════════════════╝

┌─────────────────────────────────────────────────────────────┐
│                    SCAN CONFIGURATION                       │
├─────────────────────────────────────────────────────────────┤
│  Targets:          5                                        │
│  Threads:          10                                       │
│  Detection Mode:   RCE PoC                                  │
│  Payload Type:     Unix (Shell)                             │
└─────────────────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────────────────┐
│  TARGET: https://example.com                                │
├─────────────────────────────────────────────────────────────┤
│  Status:           🟢 SAFE                                  │
│  HTTP Status:      200                                      │
│  Response Time:    245.32ms                                 │
│  Server:           Vercel                                   │
└─────────────────────────────────────────────────────────────┘

═════════════════════════════════════════════════════════════════
                         SCAN SUMMARY
═════════════════════════════════════════════════════════════════
  Total Targets:     5
  Vulnerable:        0
  Safe:              5
  Total Scan Time:   2.34s
═════════════════════════════════════════════════════════════════

📁 Output Format

When using -o results.json, results are saved in JSON format:

root@kitploit:~
[
  {
    "url": "https://vulnerable-site.com",
    "vulnerable": true,
    "message": "RCE confirmed: X-Action-Redirect = /login?a=11111",
    "status_code": 200,
    "response_time": 342.15,
    "server": "Next.js",
    "payload_type": "rce-poc (Unix)",
    "x_action_redirect": "/login?a=11111"
  }
]

⚠️ Disclaimer

This tool is intended for authorized security testing only. Only use this scanner against systems you have explicit permission to test. Unauthorized access to computer systems is illegal.

The authors are not responsible for any misuse or damage caused by this tool.

🙏 Credits

  • Assetnote Security Research Team - Original research and detection methodology
  • @maple3142 - Original RCE PoC disclosure
  • xEHLE_ - RCE output reflection in response header
  • Nagli

📄 License

MIT License - See LICENSE file for details.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request
Download Tool
OptionDescription
-u, --urlSingle URL to check
-l, --listFile containing hosts (one per line)
-t, --threadsNumber of concurrent threads (default: 10)
--timeoutRequest timeout in seconds (default: 10)
-o, --outputOutput file for results (JSON format)
--all-resultsSave all results, not just vulnerable hosts
-v, --verboseInclude response body in output
-q, --quietOnly output vulnerable hosts
--no-colorDisable colored terminal output
-k, --insecureDisable SSL certificate verification
-H, --headerCustom header (can be used multiple times)
--safe-checkUse safe side-channel detection instead of RCE PoC
--windowsUse Windows PowerShell payload instead of Unix shell
--waf-bypassAdd junk data to bypass WAF content inspection
--waf-bypass-sizeSize of junk data in KB (default: 128)
--vercel-waf-bypassUse Vercel WAF bypass payload variant