Laravel Ignition
Laravel Ignition File Upload Vulnerability
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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 2.5.0, < 2.5.2
Fixed in 2.5.2
from GitHub Security Advisory GHSA-4qwp-7c67-jmcc
- >= 2.0.0, < 2.4.2
Fixed in 2.4.2
from GitHub Security Advisory GHSA-4qwp-7c67-jmcc
- >= 1.7.0, < 1.16.14
Fixed in 1.16.14
from GitHub Security Advisory GHSA-4qwp-7c67-jmcc
- < 1.6.15
Fixed in 1.6.15
from GitHub Security Advisory GHSA-4qwp-7c67-jmcc
Mitigation
Upgrade facade/ignition to 2.5.2 or later.
Upgrade facade/ignition to 2.4.2 or later.
Upgrade facade/ignition to 1.16.14 or later.
Upgrade facade/ignition to 1.6.15 or later.
Timeline
Days relative to CVE publicationFirst public PoC 23 h after publication; added to CISA KEV 2.7 years after publication. First PoC: ambionics/laravel-exploits (created 13 Jan 2021, found by us: backfilled).
PoC repositories
Found on GitHub.38 PoCs · 3 pending · 1 informational · 1 not a PoC
PoCs 38
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| ambionics/laravel-exploits | 13 Jan 2021 +23 h | backfilled | 288 | PoC |
| SNCKER/CVE-2021-3129 | 22 Jan 2021 +9.6 d | backfilled | 134 | PoC |
| SecPros-Team/laravel-CVE-2021-3129-EXP | 25 Jan 2021 +13 d | backfilled | 78 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| crisprss/Laravel_CVE-2021-3129_EXP | 27 Jan 2021 +15 d | backfilled | 18 | PoC |
| nth347/CVE-2021-3129_exploit | 27 Jan 2021 +15 d | backfilled | 69 | PoC |
| FunPhishing/Laravel-8.4.2-rce-CVE-2021-3129 | 14 Feb 2021 +33 d | backfilled | 2 | PoC |
| zhzyker/CVE-2021-3129 | 18 Feb 2021 +37 d | backfilled | 167 | PoC |
| Y0s9/CVE-2021-3129 | 11 Apr 2021 +89 d | backfilled | 0 | PoC |
| 1111one/laravel-CVE-2021-3129-EXP | 22 Jul 2021 +191 d | backfilled | 1 | PoC |
| idea-oss/laravel-CVE-2021-3129-EXP | 22 Jul 2021 +191 d | backfilled | 1 | PoC |
| knqyf263/CVE-2021-3129 | 1 Oct 2021 +262 d | backfilled | 12 | PoC |
| casagency/metasploit-CVE | 4 Jan 2022 +357 d | backfilled | 0 | PoC via PoC Index |
| cuongtop4598/CVE-2021-3129-Script | 8 Apr 2022 +1.2 y | backfilled | 7 | PoC |
| joshuavanderpoll/CVE-2021-3129 | 16 Apr 2022 +1.3 y | backfilled | 158 | PoC |
| shadowabi/Laravel-CVE-2021-3129 | 4 Jun 2022 +1.4 y | backfilled | 5 | PoC via PoC Index |
| hupe1980/CVE-2021-3129 | 30 Sep 2022 +1.7 y | backfilled | 0 | PoC |
| 0nion1/CVE-2021-3129 | 11 Oct 2022 +1.7 y | backfilled | 6 | PoC |
| MadExploits/Laravel-debug-Checker | 10 Dec 2022 +1.9 y | backfilled | 7 | PoC |
| aurelien-vilminot/ENSIMAG_EXPLOIT_CVE2_3A | 17 Feb 2023 +2.1 y | backfilled | 0 | PoC via PoC Index |
| ajisai-babu/CVE-2021-3129-exp | 4 Mar 2023 +2.1 y | backfilled | 13 | PoC |
| keyuan15/CVE-2021-3129 | 11 Mar 2023 +2.2 y | backfilled | 1 | PoC |
| Zoo1sondv/CVE-2021-3129 | 1 May 2023 +2.3 y | backfilled | 0 | PoC |
| miko550/CVE-2021-3129 | 26 Jul 2023 +2.5 y | backfilled | 0 | PoC |
| withmasday/CVE-2021-3129 | 27 Jul 2023 +2.5 y | backfilled | 2 | PoC |
| wmasday/CVE-2021-3129 | 27 Jul 2023 +2.5 y | backfilled | 2 | PoC |
| banyaksepuh/Mass-CVE-2021-3129-Scanner | 22 Oct 2023 +2.8 y | backfilled | 0 | Scanner |
| Axianke/CVE-2021-3129 | 15 Jan 2024 +3.0 y | backfilled | 6 | PoC |
| cc3305/CVE-2021-3129 | 19 May 2024 +3.3 y | backfilled | 0 | PoC |
| piperpwn/CVE-2021-3129- | 16 Jul 2024 +3.5 y | backfilled | 0 | PoC |
| piperpwn/CVE-2021-3129-piperpwn | 16 Jul 2024 +3.5 y | backfilled | 0 | PoC |
| 0x0d3ad/CVE-2021-3129 | 29 Sep 2024 +3.7 y | backfilled | 10 | PoC |
| GodOfServer/CVE-2021-3129 | 31 Oct 2024 +3.8 y | backfilled | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| lukwagoasuman/CVE-2021-3129---Laravel-RCE | 30 Jan 2025 +4.0 y | backfilled | 1 | PoC |
| cchiaravalentini/CVE-2021-3129 | 6 Jun 2026 +5.4 y | backfilled | 0 | PoC |
| theNareshofficial/CVE-2021-3129-Lab | 18 Jul 2026 +5.5 y | backfilled | 1 | PoC |
| Giangdurian/CVE-2021-3129 | 7 Aug 2026 +5.6 y | backfilled | 0 | PoC |
| CyberCTF/vulhub-laravel-cve-2021-3129 | 8 Oct 2026 +5.7 y | backfilled | 0 | PoC |
| MalKing-maker/SunGon | 17 Oct 2026 +5.8 y | 14 Nov 2026 | 0 | PoC via PoC Index
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Pending 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Erikten/CVE-2021-3129 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| JacobEbben/CVE-2021-3129 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| simonlee-hello/CVE-2021-3129 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| javvadivijayprasad/blackboxAISecurityTesting | 27 Oct 2026 +5.8 y | 14 Nov 2026 | 1 | Informational · list |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Prabesh01/hoh4 | 4 Dec 2024 +3.9 y | 0 | Not a PoC · unrelated |
Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Laravel 8.4.2 debug mode - Remote code execution | 14 Jan 2021 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Unauthenticated remote code execution in Ignition (exploit/multi/php/ignition_laravel_debug_rce) | 8 Feb 2022 | 14 Nov 2026 |
| nuclei template | nuclei template: Laravel with Ignition <= v8.4.2 Debug Mode - Remote Code Execution | 27 Apr 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 38 PoC reposPOST /_ignition/execute-solution
- Key headers
Accept: */*Accept: application/jsonAccept-Language: en- Body markers
"solution":"Facade\Ignition\Solutions\MakeViewVariableOptionalSolution""parameters""solution""variableName":"username""viewFile""viewFile":"AA""viewFile":"phar:///var/www/storage/logs/laravel.log/test.txt""variableName":"x""viewFile":"php://filter/write=convert.base64-decode/resource=../storage/logs/laravel.log"solution=Facade\Ignition\Solutions\MakeViewVariableOptionalSolutionparameters[variableName]=cve20213129parameters[viewFile]=nullinapplication/json- Ports
- 8000, 8001, 8080, 8888
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36- Seen in
- 12 repos: 0x0d3ad/CVE-2021-3129, 1111one/laravel-CVE-2021-3129-EXP, CyberCTF/vulhub-laravel-cve-2021-3129, Giangdurian/CVE-2021-3129, MalKing-maker/SunGon, SecPros-Team/laravel-CVE-2021-3129-EXP, casagency/metasploit-CVE, cchiaravalentini/CVE-2021-3129, hupe1980/CVE-2021-3129, idea-oss/laravel-CVE-2021-3129-EXP, keyuan15/CVE-2021-3129, nth347/CVE-2021-3129_exploit
- Evidence
- 0x0d3ad/CVE-2021-3129/CVE-2021-3129.py:41 1111one/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP.py:22 1111one/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP.py:33 1111one/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP.py:44 1111one/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP.py:55 1111one/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP.py:66
GET /_ignition/execute-solution
- Ports
- 8000
- Seen in
- 4 repos: 1111one/laravel-CVE-2021-3129-EXP, SecPros-Team/laravel-CVE-2021-3129-EXP, banyaksepuh/Mass-CVE-2021-3129-Scanner, idea-oss/laravel-CVE-2021-3129-EXP
- Evidence
- 1111one/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP.py:93 1111one/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP_One/laravel-CVE-2021-3129-EXP.py:93 SecPros-Team/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP.py:93 banyaksepuh/Mass-CVE-2021-3129-Scanner/massCVE-2021-3129scan.sh:34 idea-oss/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP.py:93 idea-oss/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP_One/laravel-CVE-2021-3129-EXP.py:93
GET /fuckyou.php
- Ports
- 8000
- Seen in
- 3 repos: 1111one/laravel-CVE-2021-3129-EXP, SecPros-Team/laravel-CVE-2021-3129-EXP, idea-oss/laravel-CVE-2021-3129-EXP
- Evidence
- 1111one/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP.py:126 1111one/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP.py:135 SecPros-Team/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP.py:126 SecPros-Team/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP.py:135 idea-oss/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP.py:126 idea-oss/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP.py:135
GET /shell.php
- Ports
- 8000
- Seen in
- 3 repos: 1111one/laravel-CVE-2021-3129-EXP, ajisai-babu/CVE-2021-3129-exp, idea-oss/laravel-CVE-2021-3129-EXP
- Evidence
- 1111one/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP_One/laravel-CVE-2021-3129-EXP.py:135 ajisai-babu/CVE-2021-3129-exp/CVE-2021-3129.py:80 idea-oss/laravel-CVE-2021-3129-EXP/laravel-CVE-2021-3129-EXP_One/laravel-CVE-2021-3129-EXP.py:135
GET //http://{var}
GET /_ignition/health-check
GET /one.php
POST //http://{var}
- Key headers
Accept: application/json- Body markers
"solution":"Facade\Ignition\Solutions\MakeViewVariableOptionalSolution""parameters"inapplication/json- Seen in
- 2 repos: withmasday/CVE-2021-3129, wmasday/CVE-2021-3129
- Evidence
- withmasday/CVE-2021-3129/laravelrce.py:61 wmasday/CVE-2021-3129/laravelrce.py:61
GET /.env
- Seen in
- 1 repo: MalKing-maker/SunGon
- Evidence
- MalKing-maker/SunGon/README.md:27
GET /trigger-error
- Seen in
- 1 repo: MalKing-maker/SunGon
- Evidence
- MalKing-maker/SunGon/README.md:54
POST /any-route
- Key headers
Cookie: laravel_session={var}- Body markers
# Server nhận cookie → decrypt bằng APP_KEY → unserialize() → trigger gadget chain → RCE!- Seen in
- 1 repo: MalKing-maker/SunGon
- Evidence
- MalKing-maker/SunGon/README.md:191
GET //{var}
- Key headers
Accept: application/jsonAccept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6Sec-Fetch-Mode: cors- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) " "Chrome/87.0.4280.88 Safari/537.36- Seen in
- 1 repo: 0nion1/CVE-2021-3129
- Evidence
- 0nion1/CVE-2021-3129/laravel-CVE-2021-3129.py:22 0nion1/CVE-2021-3129/laravel-CVE-2021-3129.py:33
GET /_ide_helper.php
- Query
subject=phar://storage/logs/laravel.log- Ports
- 8080
- Seen in
- 1 repo: theNareshofficial/CVE-2021-3129-Lab
- Evidence
- theNareshofficial/CVE-2021-3129-Lab/README.md:22 theNareshofficial/CVE-2021-3129-Lab/README.md:65 theNareshofficial/CVE-2021-3129-Lab/README.md:100 theNareshofficial/CVE-2021-3129-Lab/README.md:103
GET /admin/init
- Ports
- 8000
- Seen in
- 1 repo: casagency/metasploit-CVE
- Evidence
- casagency/metasploit-CVE/50239.py:31
GET /poll
- Query
id=secret=- Ports
- 8000
- Seen in
- 1 repo: casagency/metasploit-CVE
- Evidence
- casagency/metasploit-CVE/log4j-scan.py:255
POST //{var}
- Key headers
Accept: application/jsonAccept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6Sec-Fetch-Mode: cors- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) " "Chrome/87.0.4280.88 Safari/537.36- Seen in
- 1 repo: 0nion1/CVE-2021-3129
- Evidence
- 0nion1/CVE-2021-3129/laravel-CVE-2021-3129.py:46 0nion1/CVE-2021-3129/laravel-CVE-2021-3129.py:56 0nion1/CVE-2021-3129/laravel-CVE-2021-3129.py:66 0nion1/CVE-2021-3129/laravel-CVE-2021-3129.py:126 0nion1/CVE-2021-3129/laravel-CVE-2021-3129.py:140 0nion1/CVE-2021-3129/laravel-CVE-2021-3129.py:150
POST /_ignition/execute-solution/
- Body markers
"solution":"Facade\Ignition\Solutions\MakeViewVariableOptionalSolution""parameters"inapplication/json- Ports
- 8000
- Seen in
- 1 repo: ambionics/laravel-exploits
- Evidence
- ambionics/laravel-exploits/laravel-ignition-rce.py:72
POST /admin/auth/reset-password
- Body markers
"code""password":"SuperStrongPassword1""passwordConfirmation":"SuperStrongPassword1"inapplication/json- Ports
- 8000
- Seen in
- 1 repo: casagency/metasploit-CVE
- Evidence
- casagency/metasploit-CVE/50239.py:47
POST /admin/plugins/install
- Key headers
Authorization: Bearer {var}- Body markers
"plugin""port":"1337"inapplication/json- Ports
- 8000
- Seen in
- 1 repo: casagency/metasploit-CVE
- Evidence
- casagency/metasploit-CVE/50239.py:64
POST /register
- Body markers
"public-key""secret-key""correlation-id"inapplication/json- Ports
- 8000
- Seen in
- 1 repo: casagency/metasploit-CVE
- Evidence
- casagency/metasploit-CVE/log4j-scan.py:247
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/_ignition/execute-solution(?:[?#].*)?$
(?i)^/_ignition/execute-solution(?:[?#].*)?$
(?i)^/fuckyou\.php(?:[?#].*)?$
(?i)^/shell\.php(?:[?#].*)?$
(?i)^//http://[^/?#]*(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8000,8001,8080,8888] (msg:"GG PoC-Monitor CVE-2021-3129 Laravel Ignition exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/_ignition/execute-solution"; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept: application/json"; nocase; http.header; content:"Accept-Language: en"; nocase; http.request_body; content:"|22|solution|22|:|22|Facade|5c|Ignition|5c|Solutions|5c|MakeViewVariableOptionalSolution|22|"; http.request_body; content:"|22|parameters|22|"; http.request_body; content:"|22|solution|22|"; http.request_body; content:"|22|variableName|22|:|22|username|22|"; http.request_body; content:"|22|viewFile|22|"; http.request_body; content:"|22|viewFile|22|:|22|AA|22|"; http.request_body; content:"|22|viewFile|22|:|22|phar:///var/www/storage/logs/laravel.log/test.txt|22|"; http.request_body; content:"|22|variableName|22|:|22|x|22|"; http.request_body; content:"|22|viewFile|22|:|22|php://filter/write=convert.base64-decode/resource=../storage/logs/laravel.log|22|"; http.request_body; content:"solution=Facade|5c|Ignition|5c|Solutions|5c|MakeViewVariableOptionalSolution"; http.request_body; content:"parameters[variableName]=cve20213129"; http.request_body; content:"parameters[viewFile]=null"; reference:url,poc.griffinguard.io/cve/CVE-2021-3129; classtype:web-application-attack; sid:9175790; rev:1;)
alert http any any -> $HOME_NET [8000] (msg:"GG PoC-Monitor CVE-2021-3129 Laravel Ignition exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/_ignition/execute-solution"; reference:url,poc.griffinguard.io/cve/CVE-2021-3129; classtype:web-application-attack; sid:9058582; rev:1;)
alert http any any -> $HOME_NET [8000] (msg:"GG PoC-Monitor CVE-2021-3129 Laravel Ignition exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/fuckyou.php"; reference:url,poc.griffinguard.io/cve/CVE-2021-3129; classtype:web-application-attack; sid:9243472; rev:1;)
alert http any any -> $HOME_NET [8000] (msg:"GG PoC-Monitor CVE-2021-3129 Laravel Ignition exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/shell.php"; reference:url,poc.griffinguard.io/cve/CVE-2021-3129; classtype:web-application-attack; sid:9122720; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-3129 Laravel Ignition exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"//http://"; reference:url,poc.griffinguard.io/cve/CVE-2021-3129; classtype:web-application-attack; sid:9289424; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Laravel Ignition exploit attempt (CVE-2021-3129)
id: gg-pocmon-cve-2021-3129-9175790
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-3129. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-3129
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/_ignition/execute-solution'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2021.3129
title: Laravel Ignition exploit attempt (CVE-2021-3129)
id: gg-pocmon-cve-2021-3129-9058582
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-3129. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-3129
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/_ignition/execute-solution'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2021.3129
title: Laravel Ignition exploit attempt (CVE-2021-3129)
id: gg-pocmon-cve-2021-3129-9243472
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-3129. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-3129
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/fuckyou.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2021.3129
title: Laravel Ignition exploit attempt (CVE-2021-3129)
id: gg-pocmon-cve-2021-3129-9122720
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-3129. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-3129
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/shell.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2021.3129
title: Laravel Ignition exploit attempt (CVE-2021-3129)
id: gg-pocmon-cve-2021-3129-9289424
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-3129. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-3129
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '//http://'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2021.3129