MediumGHSA-vp8p-c6xj-xpj7

Silverstripe External redirection risk in Security?ReturnURL

Published 23 May 2024 · Updated 28 Nov 2024

Affected packages

Affected
<3.0.14
Fixed in
3.0.14
Update to the fixed version for your release line, for example:composer require silverstripe/framework:^3.0.14
Affected
>=3.1.0 <3.1.13
Fixed in
3.1.13
Update to the fixed version for your release line, for example:composer require silverstripe/framework:^3.1.13

Details

A vulnerability has been found in the SilverStripe framework where a login url can be potentially redirected to an external site.

For example, the url http://www.my-silverstripe-site.com/Security/login?BackURL=/\attacker-site.com will redirect successful logins to the page http://attacker-site.com. If that website were set up to look identical to the first with "login failed" then the user will likely just enter their user/pass again.

Is GHSA-vp8p-c6xj-xpj7 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected silverstripe/framework, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.