Vulnerability · Published Dec 20, 2024 · Assigned by GitHub_M
CVE-2024-56329Account Takeover Vulnerability in Social Account Linking in joelbutcher/socialstream
High 8.9
In plain English
A high-severity improper authentication in socialstream from joelbutcher. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Socialstream is a third-party package for Laravel Jetstream. It replaces the published authentication and profile scaffolding provided by Laravel Jetstream, with scaffolding that has support for Laravel Socialite. When linking a social account to an already authenticated user, the lack of a confirmation step introduces a security risk. This is exacerbated if ->stateless() is used in the Socialite configuration, bypassing state verification and making the exploit easier. Developers should ensure that users explicitly confirm account linking and avoid configurations that skip critical security checks. Socialstream v6.2 introduces a new custom route that requires a user to "Confirm" or "Deny" a request to link a social account. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | joelbutcher/socialstream | 6.2.0 | GHSA-3q97-vjpp-c8rp |
| Packagist | joelbutcher/socialstream | 5.6.0 | GHSA-3q97-vjpp-c8rp |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| joelbutcher | socialstream | < 6.2.0 |
Weakness: CWE-287 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H