CRITICAL9.8
GHSA-4qwp-7c67-jmcc
Unauthenticated remote code execution in Ignition
Quick fix
GHSA-4qwp-7c67-jmcc — facade/ignition: upgrade to the fixed version with the command below.
composer require facade/ignition:^2.5.2Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/facade/ignition
Introduced in:
2.5.0Fixed in: 2.5.2Fix
composer require facade/ignition:^2.5.2Packagist/facade/ignition
Introduced in:
2.0.0Fixed in: 2.4.2Fix
composer require facade/ignition:^2.4.2Packagist/facade/ignition
Introduced in:
1.7.0Fixed in: 1.16.14Fix
composer require facade/ignition:^1.16.14Packagist/facade/ignition
Introduced in:
0Fixed in: 1.6.15Fix
composer require facade/ignition:^1.6.15References
- https://nvd.nist.gov/vuln/detail/CVE-2021-3129[ADVISORY]
- https://github.com/facade/ignition/pull/334[WEB]
- https://github.com/facade/ignition/commit/11ffca14abd22db779d90b12e193f8000f6d184b[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/facade/ignition/CVE-2021-3129.yaml[WEB]
- https://github.com/facade/ignition[PACKAGE]
- https://www.ambionics.io/blog/laravel-debug-rce[WEB]
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3129[WEB]
- http://packetstormsecurity.com/files/162094/Ignition-2.5.1-Remote-Code-Execution.html[WEB]
- http://packetstormsecurity.com/files/165999/Ignition-Remote-Code-Execution.html[WEB]