CVE-2024-55661
JSON

8.7high

Laravel Pulse Allows Remote Code Execution via Unprotected Query Method

Severity
8.7high CVSS:4.0 by GitHub_M
Exploit likelihood
32.5% (higher than 98% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-8vwh-pr89-4mw2

Description

Laravel Pulse is a real-time application performance monitoring tool and dashboard for Laravel applications. A vulnerability has been discovered in Laravel Pulse prior to version 1.3.1 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 in which the callable is a function or static method and the callable has no parameters or no strict parameter types. The vulnerable to component is `remember(callable $query, string $key = '')` method in `Laravel\Pulse\Livewire\Concerns\RemembersQueries`, and the vulnerability affects all Pulse card components that use this trait. Version 1.3.1 contains a patch.

Affected

Product or packageVersionsReported by
laravel pulse< 1.3.1, before 1.3.1CVE List, NVD
laravel/pulse (Packagist)before 1.3.1GitHub Advisory Database

All scores

GitHub_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Classification

CWE-94

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

Laravel Pulse is a real-time application performance monitoring tool and dashboard for Laravel applications. A vulnerability has been discovered in Laravel Pulse prior to version 1.3.1 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 in which the callable is a function or static method and the callable has no parameters or no strict parameter types. The vulnerable to component is `remember(callable $query, string $key = '')` method in `Laravel\Pulse\Livewire\Concerns\RemembersQueries`, and the vulnerability affects all Pulse card components that use this trait. Version 1.3.1 contains a patch.

GitHub Advisory Database

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.

Impact

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:

  • The callable is a function or static method
  • The callable has no parameters or no strict parameter types
Vulnerable Components
  • The remember(callable $query, string $key = '') method in Laravel\Pulse\Livewire\Concerns\RemembersQueries
  • Affects all Pulse card components that use this trait
Attack Vectors

The vulnerability can be exploited through Livewire component interactions, for example:

wire:click="remember('\\Illuminate\\Support\\Facades\\Config::all', 'config')"
Credit

Thank you to Jeremy Angele for reporting this vulnerability.

NVD (es)

Laravel Pulse es una herramienta de monitoreo de rendimiento de aplicaciones en tiempo real y un panel de control para aplicaciones Laravel. Se ha descubierto una vulnerabilidad en Laravel Pulse anterior a la versión 1.3.1 que podría permitir la ejecución remota de código a través del método público `remember()` en el rasgo `Laravel\Pulse\Livewire\Concerns\RemembersQueries`. Este método es accesible a través de los componentes Livewire y se puede explotar para llamar a elementos invocables arbitrarios dentro de la aplicación. Un usuario autenticado con acceso al panel de control de Laravel Pulse puede ejecutar código arbitrario llamando a cualquier función o método estático en el que el invocable sea una función o un método estático y el invocable no tenga parámetros o ningún tipo de parámetro estricto. El componente vulnerable es el método `remember(callable $query, string $key = '')` en `Laravel\Pulse\Livewire\Concerns\RemembersQueries`, y la vulnerabilidad afecta a todos los componentes de la tarjeta Pulse que usan este rasgo. La versión 1.3.1 contiene un parche.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-55661 changed 2024-12-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-8vwh-pr89-4mw2 changed 2024-12-17CC-BY-4.0
NVDCVE-2024-55661 changed 2026-06-17Public domain