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

48 lines
1.2 KiB
YAML
Raw Normal View History

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
severity: critical
2021-06-22 12:12:35 +00:00
description: The BuddyPress WordPress plugin was affected by an REST API Privilege Escalation to RCE
2021-06-21 05:33:14 +00:00
reference: |
- https://github.com/HoangKien1020/CVE-2021-21389
2021-06-23 20:54:58 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-21389
tags: cve,cve2021,wordpress,wp-plugin,rce
2021-06-21 05:33:14 +00:00
requests:
2021-06-23 20:54:58 +00:00
- raw:
- |
POST /wp-json/buddypress/v1/signup HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36
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:
- 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-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