CVE-2023-6786
Payment Gateway for Telcell < 2.0.4 - Open Redirect
mediumseverity
0.5%likelihood of exploitation, next 30 days
44%of all CVEs are less likely
Readycheck to confirm it
The plugin does not validate the api_url parameter before redirecting the user to its value, leading to an Open Redirect issue
Impact
Unauthenticated attackers can exploit open redirect through the api_url parameter to redirect users to malicious websites for phishing attacks.
Fix
Fixed in 2.0.4
How to confirm it
Send: GET {{BaseURL}}/wp-admin/admin.php?page=wc-settings&action=redirect_telcell_form&api_url=https://oast.me
Positive when: matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)oast\.me.*$/Run it with nuclei: nuclei -id CVE-2023-6786 -u <target>
The full check
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
impact: |
Unauthenticated attackers can exploit open redirect through the api_url parameter to redirect users to malicious websites for phishing attacks.
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
epss-score: 0.00515
epss-percentile: 0.44192
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,vuln
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.*$'References
- https://wpscan.com/vulnerability/f3e64947-3138-4ec4-86c4-27b5d6a5c9c2/
- https://nvd.nist.gov/vuln/detail/CVE-2023-6786
Use this check only on systems you are authorised to test. Where the data comes from