Skip to content
OpenAdvisories
High · 8.9 CVE-2024-56329 EUVD-2024-3549GHSA-3q97-vjpp-c8rp

Account Takeover Vulnerability in Social Account Linking in joelbutcher/socialstream

Published Dec 20, 2024 · Updated Dec 24, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
joelbutcher socialstream < 6.2.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist joelbutcher/socialstream >= 6.0.0, < 6.2.0 6.2.0 GHSA-3q97-vjpp-c8rp
Packagist joelbutcher/socialstream < 5.6.0 5.6.0 GHSA-3q97-vjpp-c8rp

References