Threat Feed

CVE-2021-3129: Laravel Ignition · Arbitrary file write

Exploitation: In the wild · CVSS 9.8 Critical · Unauthenticated · Published 2021-01-12

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.

Enclave's analysis

Ignition, the Laravel error page package, has a bug in how it reads and writes files. An unauthenticated attacker can turn that into remote code execution. It only works on sites with debug mode on and an Ignition version before 2.5.2. Public exploits exist, CISA lists it as exploited, and ransomware use is marked as known. Upgrade Ignition to 2.5.2 or later and turn debug mode off.

Fix

Upgrade to 2.5.2.

Affected versions

ProductVulnerableFixed in
facade/ignition (Laravel Ignition)All versions before 2.5.2, with Laravel before 8.4.2 and debug mode on2.5.2

Seen in 4 sources