GitHub Advisoryadvisory · npm
GHSA-6xc2-mj39-q599 Strapi allows unauthenticated attacker to reset admin password without valid reset token
CRITICAL
Official page ↗
- Aliases
- CVE-2019-18818
- Ecosystem
- npm
- Packages
- strapi
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-640
- Reviewed
- 2019-12-02
Affected packages
• npm strapi: < 3.0.0-beta.17.5 → fixed in 3.0.0-beta.17.5
Description
Versions of `strapi` prior to 3.0.0-beta.17.5 are vulnerable to Privilege Escalation. The password reset routes allows an unauthenticated attacker to reset an admin's password without providing a valid password reset token.
Recommendation
Upgrade to version 3.0.0-beta.17.5 or later.
Related
Alias · CVE (1)
- CVE-2019-18818 strapi before 3.0.0-beta.17.5 mishandles password resets within packages/strapi-admin/controllers/Auth.js and… vulnerability
Weakness · CWE (1)
- CWE-640 Weak Password Recovery Mechanism for Forgotten Password weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-18818 advisory
- https://github.com/strapi/strapi/pull/4443 web
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18818 web
- https://github.com/strapi/strapi package
- https://github.com/strapi/strapi/releases/tag/v3.0.0-beta.17.5 web
- https://www.npmjs.com/advisories/1311 web
- http://packetstormsecurity.com/files/163939/Strapi-3.0.0-beta-Authentication-Bypass.html web
- http://packetstormsecurity.com/files/163950/Strapi-CMS-3.0.0-beta.17.4-Remote-Code-Execution.html web
- http://packetstormsecurity.com/files/165896/Strapi-CMS-3.0.0-beta.17.4-Privilege-Escalation.html web