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

21 lines
747 B
YAML
Raw Normal View History

2022-05-05 16:55:21 +00:00
id: CVE-2022-0165
info:
name: WordPress Page Builder KingComposer <= 2.9.6 - Open Redirect
author: akincibor
severity: low
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
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.*$'