silverstripe/silverstripe-framework · Security
Silverstripe Missing CSRF protection in login form
- GHSA ID
- GHSA-vj2j-6g3w-4662
- Severity
- medium
- Published
- Updated
- CVSS
- 5.4 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- CVSS v3
- 5.4 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Description
LoginForm calls disableSecurityToken(), which causes a "shared host domain" vulnerability: http://stackoverflow.com/a/15350123.
CWEs
- CWE-352 · Cross-Site Request Forgery (CSRF)
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://stackoverflow.com/questions/6412813/do-login-forms-need-tokens-against-csrf-attacks/15350123#15350123 ↗
- https://www.silverstripe.org/download/security-releases/ss-2016-006 ↗
- https://github.com/advisories/GHSA-vj2j-6g3w-4662 ↗