GitHub Advisoryadvisory · Packagist
GHSA-vj2j-6g3w-4662 Silverstripe Missing CSRF protection in login form
MEDIUM
Official page ↗
- Ecosystem
- Packagist
- Packages
- silverstripe/framework
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-352
- Reviewed
- 2024-05-23
Affected packages
• Packagist silverstripe/framework: >= 3.1.18, < 3.1.19 → fixed in 3.1.19
• Packagist silverstripe/framework: >= 3.2.3, < 3.2.4 → fixed in 3.2.4
• Packagist silverstripe/framework: >= 3.3.1, < 3.3.2 → fixed in 3.3.2
Description
LoginForm calls disableSecurityToken(), which causes a "shared host domain" vulnerability: http://stackoverflow.com/a/15350123.
Related
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness
References
- https://github.com/silverstripe/silverstripe-framework/commit/a6bd22ab2f3b11a054d20be13306a19089510989 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-006-1.yaml web
- https://github.com/silverstripe/silverstripe-framework package
- https://stackoverflow.com/questions/6412813/do-login-forms-need-tokens-against-csrf-attacks/15350123#15350123 web
- https://www.silverstripe.org/download/security-releases/ss-2016-006 web