Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-8818

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-8818
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:48 UTC · Revision 1

Source evidence

CVE-2020-8818

core-osv · Original source

Published 25 Feb 2020, 02:15 UTC

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.

osv:CVE-2020-8818
Complete source record
{
  "id": "bdcbbaece7bd9dc43d257c71ef9085209a4cc7170d0311995149ade78e4f8490",
  "url": "https://osv.dev/vulnerability/CVE-2020-8818",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-8818",
    "summary": "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.",
    "evidence": "osv:CVE-2020-8818",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-8818",
      "aliases": [
        "CVE-2020-8818",
        "GHSA-qf6q-qfwp-vp44"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cardgate/magento2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "aa763531d4172ecaed67958582d19cca5cef684d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cardgate:cardgate_payments:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.0.30"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.0.30",
            "v2.0.29",
            "v2.0.28",
            "v2.0.27",
            "v2.0.26",
            "v2.0.25",
            "v2.0.24",
            "v2.0.23",
            "v2.0.22",
            "v2.0.21",
            "v2.0.20",
            "v2.0.19",
            "v2.0.18",
            "v2.0.17",
            "v2.0.16",
            "v2.0.9",
            "v2.0.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8818.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/magento/magento2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5f3b86ab4bd3e3b94e65429fed33f748d29c1bbe"
                },
                {
                  "last_affected": "5f3b86ab4bd3e3b94e65429fed33f748d29c1bbe"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:adobe:magento:2.3.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.4"
                      },
                      {
                        "last_affected": "2.3.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.3.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8818.json"
          }
        }
      ],
      "modified": "2026-10-24T10:50:23.753148220Z",
      "provider": "osv",
      "references": [
        "https://github.com/cardgate/magento2/blob/715979e54e1a335d78a8c5586f9e9987c3bf94fd/Controller/Payment/Callback.php#L88-L107",
        "https://github.com/cardgate/magento2/issues/54"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:cardgate:cardgate_payments:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "cardgate:cardgate_payments",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "2.0.30"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-8818",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442099,
  "published_at": "2020-02-25T02:15:12.097+00:00"
}