HIGH7.5
GHSA-m5q3-mvcr-gc5m
silverstripe/framework BackURL validation bypass with malformed URLs
Quick fix
GHSA-m5q3-mvcr-gc5m — silverstripe/framework: upgrade to the fixed version with the command below.
composer require silverstripe/framework:^4.0.4Details
A carefully constructed malformed URL can be used to circumvent the offsite redirection protection used on `BackURL` parameters. This could lead to users entering sensitive data in malicious websites instead of the intended one.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/silverstripe/framework
Introduced in:
4.0.0-rc1Fixed in: 4.0.4Fix
composer require silverstripe/framework:^4.0.4Packagist/silverstripe/framework
Introduced in:
4.1.0-rc1Fixed in: 4.1.1Fix
composer require silverstripe/framework:^4.1.1References
- https://github.com/silverstripe/silverstripe-framework/commit/9053014a7e2eba28d000881e0bb3cc1d6e6b2eea[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-008-1.yaml[WEB]
- https://github.com/silverstripe/silverstripe-framework[PACKAGE]
- https://www.silverstripe.org/download/security-releases/ss-2018-008[WEB]
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"]}'