CVE-2019-18818 Strapi allows unauthenticated attacker to reset admin password without valid reset token
Attackers can bypass password reset controls in Strapi to take over user accounts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-18818?
CVE-2019-18818 is a critical authentication bypass vulnerability in n/a, published on 7 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
strapi before 3.0.0-beta.17.5 mishandles password resets within packages/strapi-admin/controllers/Auth.js and packages/strapi-plugin-users-permissions/controllers/Auth.js.
Weakness: CWE-640
Which versions are affected by CVE-2019-18818?
2 open source packages ship an affected version, including strapi. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
strapi npm | All versions | 3.0.0-beta.17.5 |
strapi npm | All versions | 3.0.0-beta.17.5 |
Products include Strapi Strapi.
How do I fix CVE-2019-18818?
Upgrade strapi to 3.0.0-beta.17.5 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2019-18818 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-18818 exists.
Public exploit code: 1 Metasploit module, 2 Exploit-DB entries, 1 Nuclei template and 5 proofs of concept on GitHub.
Other vulnerabilities in n/a
- CVE-2023-22894 Strapi Cleartext Storage of Sensitive Information
- CVE-2023-22621 Strapi plugins vulnerable to Server-Side Template Injection and Remote Code Execution in the Users-Permissions Plugin
- CVE-2022-27263 Unrestricted Upload of File with Dangerous Type in Strapi
- CVE-2020-27664 Authorization bypass in Strapi
- CVE-2026-22599 Strapi Vulnerable to SQL Injection in Content Type Builder
Sources
Also known as GHSA-6xc2-mj39-q599.