GHSA-5r8w-66hq-rc39 silverstripe/framework's pre-existing alc_enc cookies log users in if remember me is disabled

Not scored Published

Attackers can hijack user sessions using pre-existing cookies if the remember-me feature is disabled after being enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-5r8w-66hq-rc39?

GHSA-5r8w-66hq-rc39 is an authentication bypass vulnerability in silverstripe/framework, published on 27 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

If remember me is on and users log in with the box checked, if the developer then disabled "remember me" function, any pre-existing cookies will continue to authenticate users.

Which versions are affected by GHSA-5r8w-66hq-rc39?

8 open source packages ship an affected version, including silverstripe/framework.

PackageAffectedFixed in
silverstripe/framework PackagistFrom 3.1.19-rc13.1.20
silverstripe/framework PackagistFrom 3.1.19-rc13.1.20
silverstripe/framework PackagistFrom 3.2.4-rc13.2.5
silverstripe/framework PackagistFrom 3.2.4-rc13.2.5
silverstripe/framework PackagistFrom 3.3.2-rc13.3.3
silverstripe/framework PackagistFrom 3.3.2-rc13.3.3
2 more packages
silverstripe/framework PackagistFrom 3.4.0-rc13.4.1
silverstripe/framework PackagistFrom 3.4.0-rc13.4.1

How do I fix GHSA-5r8w-66hq-rc39?

Upgrade silverstripe/framework to a fixed version for your release line: 3.1.20, 3.2.5, 3.3.3 or 3.4.1.

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

Is GHSA-5r8w-66hq-rc39 being exploited?

There is no known exploitation of GHSA-5r8w-66hq-rc39 in the wild and no public exploit code.

Sources

Is GHSA-5r8w-66hq-rc39 in your software?

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

Check your SBOMs for free