GHSA-vj2j-6g3w-4662 json
Silverstripe Missing CSRF protection in login form
published 2y ago modified last yr.
- cvss
- 5.4
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
LoginForm calls disableSecurityToken(), which causes a "shared host domain" vulnerability: http://stackoverflow.com/a/15350123.
Patch / fix
- packagist silverstripe/framework 3.1.19, 3.2.4, 3.3.2
Is GHSA-vj2j-6g3w-4662 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | silverstripe/framework | >=3.1.18, <3.1.19 >=3.2.3, <3.2.4 >=3.3.1, <3.3.2 |
3.1.19 3.2.4 3.3.2 |
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
github.com
/silverstripe/silverstripe-framework/commit/a6bd22ab2f3b11a054d20be13306a19089510989
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-006-1.yaml
web
-
github.com
/silverstripe/silverstripe-framework
package
-
stackoverflow.com
/questions/6412813/do-login-forms-need-tokens-against-csrf-attacks/15350123#15350123
web
-
silverstripe.org
/download/security-releases/ss-2016-006
web
Sources
- GitHub Advisory GHSA-vj2j-6g3w-4662
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.