PT-2021-4652 · Laravel +1 · Laravel +1
Abergmann
·
Published
2021-01-12
·
Updated
2025-11-10
·
CVE-2021-3129
CVSS v3.1
10
10
Critical
| Base vector | Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Laravel versions prior to 8.4.2
Ignition versions prior to 2.5.2
Description
The issue is related to insecure usage of
file get contents() and file put contents() in the Ignition library used by Laravel. This allows unauthenticated remote attackers to execute arbitrary code when debug mode is enabled. The vulnerability is exploitable on sites using Laravel before version 8.4.2. It has been reported that this issue is being actively exploited, with attackers targeting cloud-hosted large language model services by leveraging stolen cloud credentials.Recommendations
For Laravel versions prior to 8.4.2, update to version 8.4.2 or later to resolve the issue.
For Ignition versions prior to 2.5.2, update to version 2.5.2 or later to resolve the issue.
As a temporary workaround, consider disabling debug mode in Laravel until a patch is applied.
Restrict access to the Ignition module to minimize the risk of exploitation.
Exploit
Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
dbugs@ptsecurity.com
Weakness Enumeration
Related Identifiers
BDU:2021-05345
CVE-2021-3129
GHSA-4QWP-7C67-JMCC
Affected Products
Ignition
Laravel
References · 84
- 🔥 https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/php/ignition_laravel_debug_rce.rb⭐ 34924 🔗 14183 · Exploit
- 🔥 https://github.com/FriendsOfPHP/security-advisories/blob/master/facade/ignition/CVE-2021-3129.yaml⭐ 2049 🔗 306 · Exploit
- 🔥 https://github.com/ambionics/laravel-exploits⭐ 268 🔗 65 · Exploit
- 🔥 https://github.com/zhzyker/CVE-2021-3129⭐ 151 🔗 57 · Exploit
- 🔥 https://github.com/SNCKER/CVE-2021-3129⭐ 126 🔗 49 · Exploit
- 🔥 https://github.com/joshuavanderpoll/CVE-2021-3129⭐ 99 🔗 22 · Exploit
- 🔥 https://github.com/SecPros-Team/laravel-CVE-2021-3129-EXP⭐ 72 🔗 29 · Exploit
- 🔥 https://github.com/hungnt199/CVE-2021-3129_exploit⭐ 66 🔗 26 · Exploit
- 🔥 https://github.com/nth347/CVE-2021-3129_exploit⭐ 66 🔗 26 · Exploit
- 🔥 https://github.com/crisprss/Laravel_CVE-2021-3129_EXP⭐ 17 🔗 7 · Exploit
- 🔥 https://github.com/knqyf263/CVE-2021-3129⭐ 13 🔗 4 · Exploit
- 🔥 https://github.com/cuongtop4598/CVE-2021-3129-Script⭐ 8 🔗 2 · Exploit
- 🔥 https://github.com/FunPhishing/Laravel-8.4.2-rce-CVE-2021-3129⭐ 2 🔗 6 · Exploit
- 🔥 https://github.com/MadExploits/Laravel-debug-Checker⭐ 7 · Exploit
- 🔥 https://github.com/0nion1/CVE-2021-3129⭐ 6 🔗 1 · Exploit