MediumGHSA-vj2j-6g3w-4662
Silverstripe Missing CSRF protection in login form
Affected versions
3.1.18 to before 3.1.19, 3.2.3 to before 3.2.4, 3.3.1 to before 3.3.2 - fixed in 3.1.19Details
LoginForm calls disableSecurityToken(), which causes a "shared host domain" vulnerability: http://stackoverflow.com/a/15350123.
References
- https://github.com/silverstripe/silverstripe-framework/commit/a6bd22ab2f3b11a054d20be13306a19089510989
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-006-1.yaml
- https://github.com/silverstripe/silverstripe-framework
- https://stackoverflow.com/questions/6412813/do-login-forms-need-tokens-against-csrf-attacks/15350123#15350123
- https://www.silverstripe.org/download/security-releases/ss-2016-006
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected