Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. cardgate/magento2
  4. ›
  5. CVE-2020-8818

CVE-2020-8818: Origin Validation Error

October 12, 2021

An issue was discovered in the CardGate Payments plugin through 2.0.30 for Magento 2. Lack of origin authentication in the IPN callback processing function in Controller/Payment/Callback.php allows an attacker to remotely replace critical plugin settings (merchant ID, secret key, etc.) and therefore bypass the payment process (e.g., spoof an order status by manually sending an IPN callback request with a valid signature but without real payment) and/or receive all of the subsequent payments.

References

  • packetstormsecurity.com/files/156505/Magento-WooCommerce-CardGate-Payment-Gateway-2.0.30-Bypass.html
  • github.com/advisories/GHSA-qf6q-qfwp-vp44
  • github.com/cardgate/magento2/blob/715979e54e1a335d78a8c5586f9e9987c3bf94fd/Controller/Payment/Callback.php
  • github.com/cardgate/magento2/issues/54
  • github.com/cardgate/magento2/releases/tag/v2.0.33
  • nvd.nist.gov/vuln/detail/CVE-2020-8818

Code Behaviors & Features

Detect and mitigate CVE-2020-8818 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.33

Fixed versions

  • 2.0.33

Solution

Upgrade to version 2.0.33 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-346: Origin Validation Error

Source file

packagist/cardgate/magento2/CVE-2020-8818.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:05 +0000.