2021-06-21 05:33:14 +00:00
|
|
|
id: CVE-2021-21389
|
|
|
|
|
|
|
|
info:
|
2021-06-23 20:54:58 +00:00
|
|
|
name: BuddyPress REST API Privilege Escalation to RCE
|
2021-06-21 05:33:14 +00:00
|
|
|
author: lotusdll
|
2021-09-10 11:26:40 +00:00
|
|
|
severity: high
|
2021-06-22 12:12:35 +00:00
|
|
|
description: The BuddyPress WordPress plugin was affected by an REST API Privilege Escalation to RCE
|
2021-08-18 11:37:49 +00:00
|
|
|
reference:
|
2021-06-21 05:33:14 +00:00
|
|
|
- https://github.com/HoangKien1020/CVE-2021-21389
|
2021-08-01 06:16:33 +00:00
|
|
|
- https://buddypress.org/2021/03/buddypress-7-2-1-security-release/
|
|
|
|
- https://codex.buddypress.org/releases/version-7-2-1/
|
|
|
|
- https://github.com/buddypress/BuddyPress/security/advisories/GHSA-m6j4-8r7p-wpp3
|
2021-06-23 20:54:58 +00:00
|
|
|
tags: cve,cve2021,wordpress,wp-plugin,rce
|
2021-09-10 11:26:40 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
|
|
|
|
cvss-score: 8.80
|
|
|
|
cve-id: CVE-2021-21389
|
|
|
|
cwe-id: CWE-863
|
2021-06-21 05:33:14 +00:00
|
|
|
|
|
|
|
|
2021-06-22 12:07:00 +00:00
|
|
|
requests:
|
2021-06-23 20:54:58 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /wp-json/buddypress/v1/signup HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/json; charset=UTF-8
|
|
|
|
|
|
|
|
{
|
|
|
|
"user_login":"{{randstr}}",
|
|
|
|
"password":"{{randstr}}",
|
|
|
|
"user_name":"{{randstr}}",
|
|
|
|
"user_email":"{{randstr}}@example.com"
|
|
|
|
}
|
2021-06-21 05:33:14 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
2021-06-22 12:07:00 +00:00
|
|
|
- 200
|
2021-06-21 05:33:14 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
2021-06-23 20:54:58 +00:00
|
|
|
- "application/json"
|
|
|
|
part: header
|
2021-06-22 12:07:00 +00:00
|
|
|
|
2021-06-23 20:54:58 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "user_login"
|
|
|
|
- "registered"
|
|
|
|
- "activation_key"
|
|
|
|
- "user_email"
|
2021-06-21 05:33:14 +00:00
|
|
|
part: body
|
2021-06-23 20:54:58 +00:00
|
|
|
condition: and
|