A vulnerability has been discovered in Laravel Pulse that could allow remote code execution through the public remember()
method in the Laravel\Pulse\Livewire\Concerns\RemembersQueries
trait. This method is accessible via Livewire components and can be exploited to call arbitrary callables within the application.
An authenticated user with access to Laravel Pulse dashboard can execute arbitrary code by calling any function or static method that meets the following criteria:
remember(callable $query, string $key = '')
method in Laravel\Pulse\Livewire\Concerns\RemembersQueries
The vulnerability can be exploited through Livewire component interactions, for example:
wire:click="remember('\\Illuminate\\Support\\Facades\\Config::all', 'config')"
Thank you to Jeremy Angele for reporting this vulnerability.
{ "nvd_published_at": "2024-12-13T16:15:27Z", "cwe_ids": [ "CWE-94" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2024-12-13T20:35:43Z" }