GitHub Advisoryadvisory · npm
GHSA-whrh-9j4q-g7ph CSRF Vulnerability in polaris-website
MEDIUM
Official page ↗
- Ecosystem
- npm
- Packages
- polaris-website
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-352
- Reviewed
- 2020-08-05
Affected packages
• npm polaris-website: < 1.1.1 → fixed in 1.1.1
Description
Impact
CSRF vulnerability:
In some very specific circumstances, an attacker would be able to update your settings.
Basically you would need to navigate to hackersite.com while logged into our panel. Then they could modify your settings. They couldn't check if it worked, nor could they read your settings.
Patches
As of v1.1.1 this has been patched by implementing the Double submit pattern using a cookie.
For more information
If you have any questions or comments about this advisory:
• Open an issue in Polaris-React
• Email us at [email protected]
• Join our discord (preferred): https://discord.gg/QevWabU
Related
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness
References
- https://github.com/polaris-rbx/Polaris-React/security/advisories/GHSA-whrh-9j4q-g7ph web
- https://github.com/polaris-rbx/Polaris-React/commit/b64673d91e83c0737616a0770d8208727730808b web
- https://github.com/polaris-rbx/Polaris-React package
- https://medium.com/cross-site-request-forgery-csrf/double-submit-cookie-pattern-65bb71d80d9f web
- https://owasp.org/www-community/attacks/csrf web
- https://snyk.io/vuln/SNYK-JS-POLARISWEBSITE-597473 web
- https://www.barracuda.com/glossary/csrf web