medium5.4No CVE yet
GHSA-vj2j-6g3w-4662
Silverstripe Missing CSRF protection in login form
Impact
LoginForm calls disableSecurityToken(), which causes a "shared host domain" vulnerability: http://stackoverflow.com/a/15350123.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of data or systems being changed.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | silverstripe/framework | >= 3.1.18, < 3.1.19 | 3.1.19 |
| composer | silverstripe/framework | >= 3.2.3, < 3.2.4 | 3.2.4 |
| composer | silverstripe/framework | >= 3.3.1, < 3.3.2 | 3.3.2 |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-vj2j-6g3w-4662
- 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