silverstripe/silverstripe-framework · Security
Silverstripe External redirection risk in Security?ReturnURL
- GHSA ID
- GHSA-vp8p-c6xj-xpj7
- Severity
- medium
- Published
- Updated
- CVSS
- 5.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
- CVSS v3
- 5.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Description
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.
CWEs
- CWE-601 · URL Redirection to Untrusted Site ('Open Redirect')
References
- https://github.com/silverstripe/silverstripe-framework/commit/22a35e48a9f513d4caa3b4e9b8dd21c49ffc8f2c ↗
- https://github.com/silverstripe/silverstripe-framework/commit/c14e7f6b764ae4646461f3fc3a46452fdaa9e02a ↗
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-012-1.yaml ↗
- https://www.silverstripe.org/software/download/security-releases/ss-2015-012 ↗
- https://github.com/advisories/GHSA-vp8p-c6xj-xpj7 ↗