GHSA-7fjv-25q9-2w88 State Guessing Vulnerability in laravel/socialite

Not scored Published

Attackers can guess OAuth state values to hijack user sessions in the Laravel Socialite library, requiring an upgrade to secure authentication.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-7fjv-25q9-2w88?

GHSA-7fjv-25q9-2w88 is an authentication bypass vulnerability in laravel/socialite, published on 15 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

laravel/socialite versions prior to 2.0.10 are susceptible to a security vulnerability related to state guessing during OAuth authentication. This vulnerability could potentially lead to session hijacking, allowing attackers to compromise user sessions. The issue has been addressed and fixed in version 2.0.10.

Which versions are affected by GHSA-7fjv-25q9-2w88?

2 open source packages ship an affected version, including laravel/socialite.

PackageAffectedFixed in
laravel/socialite PackagistFrom 1.0.02.0.10
laravel/socialite PackagistFrom 1.0.02.0.10

How do I fix GHSA-7fjv-25q9-2w88?

Upgrade laravel/socialite to 2.0.10 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is GHSA-7fjv-25q9-2w88 being exploited?

There is no known exploitation of GHSA-7fjv-25q9-2w88 in the wild and no public exploit code.

Sources

Is GHSA-7fjv-25q9-2w88 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free