GitHub Advisoryadvisory · Packagist

GHSA-3q97-vjpp-c8rp Socialstream has a Potential Account Takeover Vulnerability in Social Account Linking Due to Missing User Consent After OAuth Callback

HIGH Published 2024-12-20 Modified 2024-12-26 Official page ↗
Aliases
CVE-2024-56329
Ecosystem
Packagist
Packages
joelbutcher/socialstream
Severity
High
CVSS 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
Weaknesses
CWE-287
Reviewed
2024-12-20

Affected packages

• Packagist joelbutcher/socialstream: >= 6.0.0, < 6.2.0 → fixed in 6.2.0 • Packagist joelbutcher/socialstream: < 5.6.0 → fixed in 5.6.0

Description

Description 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. Resolution Socialstream v6.2 introduces a new custom route that requires a user to "Confirm" or "Deny" a request to link a social account.

Related

Alias · CVE (1)

  • CVE-2024-56329 Socialstream is a third-party package for Laravel Jetstream. vulnerability

Weakness · CWE (1)

  • CWE-287 Improper Authentication weakness

References