Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. laravel/reverb
  4. ›
  5. CVE-2024-50347

CVE-2024-50347: Laravel Reverb Missing API Signature Verification

October 31, 2024

A community member disclosed an issue where verification signatures for requests sent to Reverb’s Pusher-compatible API were not being verified. This API is used in scenarios such as broadcasting a message from a backend service or for obtaining statistical information (such as number of connections) about a given channel.

The verification signature is a hash comprised of different parts of the request signed by the app’s secret key. The signature is sent as part of the request and should be regenerated by Reverb. Only when both the signature in the request and the one generated by Reverb match should the request be allowed. This helps to verify the request came from a known source.

[!NOTE] This issue only affects the Pusher-compatible API endpoints and not the WebSocket connections themselves. In order to exploit this vulnerability, the application ID which, should never be exposed, would need to be known by an attacker.

The following endpoints were affected:

POST /events
POST /events_batch
GET /connections
GET /channels
GET /channel
GET /channel_users
POST /users_terminate

References

  • github.com/advisories/GHSA-pfrr-xvrf-pxjx
  • github.com/laravel/reverb
  • github.com/laravel/reverb/commit/73cc140d76e803b151fc2dd2e4eb3eb784a82ee2
  • github.com/laravel/reverb/pull/252
  • github.com/laravel/reverb/releases/tag/v1.4.0
  • github.com/laravel/reverb/security/advisories/GHSA-pfrr-xvrf-pxjx
  • nvd.nist.gov/vuln/detail/CVE-2024-50347

Code Behaviors & Features

Detect and mitigate CVE-2024-50347 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.0

Fixed versions

  • 1.4.0

Solution

Upgrade to version 1.4.0 or above.

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity

Source file

packagist/laravel/reverb/CVE-2024-50347.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:09 +0000.