GitHub Advisoryadvisory · npm
GHSA-q43c-g2g7-6gxj Cross-Site Request Forgery (CSRF) in keystone
HIGH
Official page ↗
- Aliases
- CVE-2017-16570
- Ecosystem
- npm
- Packages
- keystone
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-352
- Reviewed
- 2020-06-16
Affected packages
• npm keystone: < 4.0.0-beta.7 → fixed in 4.0.0-beta.7
Description
Versions of `keystone` prior to 4.0.0 are vulnerable to Cross-Site Request Forgery (CSRF). The package fails to validate the presence of the `X-CSRF-Token` header, which may allow attackers to carry actions on behalf of other users on all endpoints.
Recommendation
Update to version 4.0.0 or later.
Related
Alias · CVE (1)
- CVE-2017-16570 KeystoneJS before 4.0.0-beta.7 allows application-wide CSRF bypass by removing the CSRF parameter and value, aka SecureLayer7 issue number… vulnerability
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-16570 advisory
- https://github.com/keystonejs/keystone/issues/4437 web
- https://github.com/keystonejs/keystone/pull/4478 web
- https://github.com/advisories/GHSA-q43c-g2g7-6gxj advisory
- https://securelayer7.net/download/pdf/KeystoneJS-Pentest-Report-SecureLayer7.pdf web
- https://snyk.io/vuln/SNYK-JS-KEYSTONE-449663 web
- https://www.exploit-db.com/exploits/43922 web
- https://www.npmjs.com/advisories/979 web
- http://blog.securelayer7.net/keystonejs-open-source-penetration-testing-report web