Arbitrary Code Injection Affecting laravel/pulse package, versions <1.3.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-LARAVELPULSE-8515879
  • published15 Dec 2024
  • disclosed13 Dec 2024
  • creditJeremy Angele

Introduced: 13 Dec 2024

NewCVE-2024-55661  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade laravel/pulse to version 1.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection via the remember method of the RemembersQueries trait. An attacker can execute arbitrary code by invoking any function or static method where the callable has no parameters or lacks strict parameter types.

PoC

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

References

CVSS Scores

version 4.0
version 3.1