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

26 lines
896 B
YAML

id: CVE-2022-0165
info:
name: WordPress Page Builder KingComposer <= 2.9.6 - Open Redirect
author: akincibor
severity: high
description: The plugin does not validate the id parameter before redirecting the user to it via the kc_get_thumbn AJAX action available to both unauthenticated and authenticated users.
reference:
- https://wpscan.com/vulnerability/906d0c31-370e-46b4-af1f-e52fbddd00cb
tags: cve,cve2022,wp-plugin,redirect,wordpress
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
cvss-score: 8.80
cve-id: CVE-2022-0165
cwe-id: CWE-601
requests:
- method: GET
path:
- "{{BaseURL}}/wp-admin/admin-ajax.php?action=kc_get_thumbn&id=https://example.com"
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)(?:[a-zA-Z0-9\-_\.@]*)example\.com.*$'