GHSA-vj2j-6g3w-4662 Silverstripe Missing CSRF protection in login form

Not scored Published

Attackers can perform cross-site request forgery on the login form, potentially taking over user accounts.

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-vj2j-6g3w-4662?

GHSA-vj2j-6g3w-4662 is a vulnerability in silverstripe/framework, published on 23 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

LoginForm calls disableSecurityToken(), which causes a "shared host domain" vulnerability: http://stackoverflow.com/a/15350123.

Which versions are affected by GHSA-vj2j-6g3w-4662?

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

PackageAffectedFixed in
silverstripe/framework PackagistFrom 3.1.183.1.19
silverstripe/framework PackagistFrom 3.1.183.1.19
silverstripe/framework PackagistFrom 3.2.33.2.4
silverstripe/framework PackagistFrom 3.2.33.2.4
silverstripe/framework PackagistFrom 3.3.13.3.2
silverstripe/framework PackagistFrom 3.3.13.3.2

How do I fix GHSA-vj2j-6g3w-4662?

Upgrade silverstripe/framework to a fixed version for your release line: 3.1.19, 3.2.4 or 3.3.2.

Is GHSA-vj2j-6g3w-4662 being exploited?

There is no known exploitation of GHSA-vj2j-6g3w-4662 in the wild and no public exploit code.

Sources

Is GHSA-vj2j-6g3w-4662 in your software?

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

Check your SBOMs for free