VDB
Sign up
MEDIUM5.8

GHSA-vp8p-c6xj-xpj7

Silverstripe External redirection risk in Security?ReturnURL

Quick fix

GHSA-vp8p-c6xj-xpj7 — silverstripe/framework: upgrade to the fixed version with the command below.

composer require silverstripe/framework:^3.0.14

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/framework
Introduced in: 0Fixed in: 3.0.14
Fixcomposer require silverstripe/framework:^3.0.14
Packagist/silverstripe/framework
Introduced in: 3.1.0Fixed in: 3.1.13
Fixcomposer require silverstripe/framework:^3.1.13

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/silverstripe/framework"]}'