Create eventticket-open-redirect.yaml

patch-1
Dhiyaneshwaran 2022-02-12 22:17:01 +05:30 committed by GitHub
parent e815bdc1b6
commit 1e3fb587d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
id: eventticket-open-redirect
info:
name: Event Tickets < 5.2.2 - Open Redirect
author: dhiyaneshDk
severity: low
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
tags: wordpress,redirect,wp-plugin,eventticket
requests:
- method: GET
path:
- "{{BaseURL}}/wp-admin/admin.php?page=wp_ajax_rsvp-form&tribe_tickets_redirect_to=https://example.com"
matchers:
- type: regex
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)example\.com.*$'
part: header