HexBrain

Browse / CVEs / CVE-2021-25028

CVE-2021-25028· tri / event tickets· CWE-601

WordPress Event Tickets < 5.2.2 - Open Redirect

mediumseverity
6.1CVSS score
1.9%likelihood of exploitation, next 30 days
80%of all CVEs are less likely
Readycheck to confirm it

WordPress Event Tickets < 5.2.2 is susceptible to an open redirect vulnerability. 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.

Impact

Attackers can redirect users to malicious websites through the tribe_tickets_redirect_to parameter, potentially facilitating phishing attacks or malware distribution.

Fix

Update to the latest version of the WordPress Event Tickets plugin (5.2.2 or higher) to fix the open redirect vulnerability.

How to confirm it

Send: GET {{BaseURL}}/wp-admin/admin.php?page=wp_ajax_rsvp-form&tribe_tickets_redirect_to=https://interact.sh
Positive when: matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*…/

Run it with nuclei: nuclei -id CVE-2021-25028 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2021-25028

info:
  name: WordPress Event Tickets < 5.2.2 - Open Redirect
  author: dhiyaneshDk
  severity: medium
  description: WordPress Event Tickets < 5.2.2 is susceptible to an open redirect vulnerability. 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.
  impact: |
    Attackers can redirect users to malicious websites through the tribe_tickets_redirect_to parameter, potentially facilitating phishing attacks or malware distribution.
  remediation: |
    Update to the latest version of the WordPress Event Tickets plugin (5.2.2 or higher) to fix the open redirect vulnerability.
  reference:
    - https://wpscan.com/vulnerability/80b0682e-2c3b-441b-9628-6462368e5fc7
    - https://nvd.nist.gov/vuln/detail/CVE-2021-25028
  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-2021-25028
    cwe-id: CWE-601
    epss-score: 0.01932
    epss-percentile: 0.80199
    cpe: cpe:2.3:a:tri:event_tickets:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: tri
    product: event_tickets
    framework: wordpress
  tags: cve2021,cve,wordpress,redirect,wp-plugin,eventtickets,wpscan,tri,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-admin/admin.php?page=wp_ajax_rsvp-form&tribe_tickets_redirect_to=https://interact.sh"

    matchers:
      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1

References

Use this check only on systems you are authorised to test. Where the data comes from