Description
Ignition before 2.5.2, as used in Laravel and other products, allows unauthenticated remote attackers to execute arbitrary code because of insecure usage of file_get_contents() and file_put_contents(). This is exploitable on sites using debug mode with Laravel before 8.4.2.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Unauthenticated remote code execution in Ignition
exploit/multi/php/ignition_laravel_debug_rce
Exploit-DB 1
- Laravel 8.4.2 debug mode - Remote code execution EDB-49424 · webapps · Jan 14, 2021
GitHub 33 repositories · most starred shown
-
ambionics/laravel-exploits ★ 288 · Jan 13, 2021
Exploit for CVE-2021-3129
-
zhzyker/CVE-2021-3129 ★ 167 · Feb 18, 2021
Laravel <= v8.4.2 debug mode: Remote code execution (CVE-2021-3129)
-
joshuavanderpoll/CVE-2021-3129 ★ 158 · Apr 16, 2022
Laravel RCE Exploit PoC - CVE-2021-3129 (user-friendly with automatic log path detection)
-
SNCKER/CVE-2021-3129 ★ 134 · Jan 22, 2021
Laravel debug rce
-
SecPros-Team/laravel-CVE-2021-3129-EXP ★ 78 · Jan 25, 2021
-
nth347/CVE-2021-3129_exploit ★ 69 · Jan 27, 2021
Exploit for CVE-2021-3129
-
crisprss/Laravel_CVE-2021-3129_EXP ★ 18 · Jan 27, 2021
-
ajisai-babu/CVE-2021-3129-exp ★ 13 · Mar 4, 2023
Laravel Debug mode RCE漏洞(CVE-2021-3129)poc / exp
-
knqyf263/CVE-2021-3129 ★ 12 · Oct 1, 2021
PoC for CVE-2021-3129 (Laravel)
-
0x0d3ad/CVE-2021-3129 ★ 10 · Sep 29, 2024
CVE-2021-3129 (Laravel Ignition RCE Exploit)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Laravel with Ignition <= v8.4.2 Debug Mode - Remote Code Execution http/cves/2021/CVE-2021-3129.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | facade/ignition | >= 2.5.0, < 2.5.2 | 2.5.2 | GHSA-4qwp-7c67-jmcc |
| Packagist | facade/ignition | >= 2.0.0, < 2.4.2 | 2.4.2 | GHSA-4qwp-7c67-jmcc |
| Packagist | facade/ignition | >= 1.7.0, < 1.16.14 | 1.16.14 | GHSA-4qwp-7c67-jmcc |
| Packagist | facade/ignition | < 1.6.15 | 1.6.15 | GHSA-4qwp-7c67-jmcc |