facade/ignition · Security
Unauthenticated remote code execution in Ignition
- GHSA ID
- GHSA-4qwp-7c67-jmcc
- CVE ID
- CVE-2021-3129
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
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.
CWEs
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-3129 ↗
- https://github.com/facade/ignition/pull/334 ↗
- https://github.com/facade/ignition/commit/11ffca14abd22db779d90b12e193f8000f6d184b ↗
- https://www.ambionics.io/blog/laravel-debug-rce ↗
- https://github.com/FriendsOfPHP/security-advisories/blob/master/facade/ignition/CVE-2021-3129.yaml ↗
- http://packetstormsecurity.com/files/162094/Ignition-2.5.1-Remote-Code-Execution.html ↗
- http://packetstormsecurity.com/files/165999/Ignition-Remote-Code-Execution.html ↗
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3129 ↗
- https://github.com/advisories/GHSA-4qwp-7c67-jmcc ↗