nuclei-templates/cves/2021/CVE-2021-25028.yaml

26 lines
954 B
YAML
Raw Normal View History

2022-02-22 13:23:25 +00:00
id: CVE-2021-25028
2022-02-12 16:47:01 +00:00
info:
name: Event Tickets < 5.2.2 - Open Redirect
author: dhiyaneshDk
severity: medium
2022-02-12 16:47:01 +00:00
description: The plugin does not validate the tribe_tickets_redirect_to parameter before redirecting the user to the given value, leading to an arbitrary redirect issue
reference: https://wpscan.com/vulnerability/80b0682e-2c3b-441b-9628-6462368e5fc7
2022-02-22 13:23:25 +00:00
tags: cve,cve2021,wordpress,redirect,wp-plugin,eventtickets
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.10
cve-id: CVE-2021-25028
cwe-id: CWE-601
2022-02-12 16:47:01 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/wp-admin/admin.php?page=wp_ajax_rsvp-form&tribe_tickets_redirect_to=https://example.com"
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)example\.com\/?(\/|[^.].*)?$' # https://regex101.com/r/ZDYhFh/1