CVE-2020-8818
PHP vulnerability analysis and mitigation

Overview

An issue was discovered in the CardGate Payments plugin through version 2.0.30 for Magento 2. The vulnerability, identified as CVE-2020-8818, was disclosed on February 24, 2020. The security flaw exists in the IPN callback processing function within Controller/Payment/Callback.php, which lacks proper origin authentication (NVD, GitHub Issue).

Technical details

The vulnerability is classified as an Origin Validation Error (CWE-346) with a CVSS v3.1 Base Score of 8.1 (HIGH). The security flaw exists in the callback processing function where the application fails to properly authenticate the origin of requests. The vulnerable code section is located in Controller/Payment/Callback.php between lines 88 and 107, which handles the configuration pull functionality (GitHub Source).

Impact

The vulnerability allows an attacker to remotely replace critical plugin settings, including merchant ID and secret key. This can lead to two significant impacts: the ability to bypass the payment process by spoofing order status through manual IPN callback requests with valid signatures but without actual payment, and the potential to hijack and receive all subsequent payments intended for the store (NVD).

Mitigation and workarounds

The vulnerability was fixed in a subsequent release after version 2.0.30. Users should upgrade their CardGate Payments plugin to a version newer than 2.0.30. The fix was implemented through PR #53 on the CardGate repository (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23622HIGH8.7
  • PHPPHP
  • alextselegidis/easyappointments
NoNoJan 15, 2026
CVE-2026-23493HIGH8.6
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 2026
CVE-2026-23496MEDIUM5.4
  • PHPPHP
  • pimcore/web2print-tools-bundle
NoYesJan 15, 2026
CVE-2026-23495MEDIUM4.3
  • PHPPHP
  • pimcore/admin-ui-classic-bundle
NoYesJan 15, 2026
CVE-2026-23494MEDIUM4.3
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management