CVE-2019-18818 Strapi allows unauthenticated attacker to reset admin password without valid reset token

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
strapi npmAll versions3.0.0-beta.17.5
strapi npmAll versions3.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.

Sources

Also known as GHSA-6xc2-mj39-q599.

Is CVE-2019-18818 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free