GitHub Advisoryadvisory · Packagist
GHSA-m5q3-mvcr-gc5m silverstripe/framework BackURL validation bypass with malformed URLs
HIGH
Official page ↗
- Ecosystem
- Packagist
- Packages
- silverstripe/framework
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-601
- Reviewed
- 2024-05-27
Affected packages
• Packagist silverstripe/framework: >= 4.0.0-rc1, < 4.0.4 → fixed in 4.0.4
• Packagist silverstripe/framework: >= 4.1.0-rc1, < 4.1.1 → fixed in 4.1.1
Description
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.
Related
Weakness · CWE (1)
- CWE-601 URL Redirection to Untrusted Site weakness
References
- 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