CVE-2024-50347
PHP vulnerability analysis and mitigation

Overview

Laravel Reverb, a real-time WebSocket communication backend for Laravel applications, was found to have a security vulnerability prior to version 1.4.0. The issue involved unverified verification signatures for requests sent to Reverb's Pusher-compatible API, which is used for broadcasting messages and obtaining channel statistics. The vulnerability was discovered and disclosed by a community member, and was assigned CVE-2024-50347 (GitHub Advisory).

Technical details

The vulnerability stems from the lack of verification for request signatures in the Pusher-compatible API endpoints. The verification signature is a hash composed of various request components signed by the app's secret key. While the signature was sent as part of the request, Reverb failed to regenerate and verify it to ensure the request originated from a legitimate source. The affected endpoints included POST /events, POST /eventsbatch, GET /connections, GET /channels, GET /channel, GET /channelusers, and POST /users_terminate (GitHub Advisory). The vulnerability has been assigned a CVSS v4.0 score of 6.3 MEDIUM (NVD).

Impact

The vulnerability could allow unauthorized access to the Pusher-compatible API endpoints, potentially enabling attackers to broadcast messages or obtain statistical information about channels. However, the impact is limited as exploitation requires knowledge of the application ID, which should never be exposed. Additionally, the vulnerability only affects the API endpoints and not the WebSocket connections themselves (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Laravel Reverb version 1.4.0. The fix implements proper API signature verification through pull request #252. Users are advised to upgrade to version 1.4.0 or later to address this security issue (GitHub Release).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management