GitHub Advisoryadvisory · Packagist
GHSA-qf6q-qfwp-vp44 Origin Validation Error in Magento 2
HIGH
Official page ↗
- Aliases
- CVE-2020-8818
- Ecosystem
- Packagist
- Packages
- cardgate/magento2
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-346
- Reviewed
- 2021-10-08
Affected packages
• Packagist cardgate/magento2: < 2.0.33 → 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.
Related
Alias · CVE (1)
- CVE-2020-8818 An issue was discovered in the CardGate Payments plugin through 2.0.30 for Magento 2. vulnerability
Weakness · CWE (1)
- CWE-346 Origin Validation Error weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-8818 advisory
- https://github.com/cardgate/magento2/issues/54 web
- https://github.com/cardgate/magento2 package
- https://github.com/cardgate/magento2/blob/715979e54e1a335d78a8c5586f9e9987c3bf94fd/Controller/Payment/Callback.php#L88-L107 web
- https://github.com/cardgate/magento2/releases/tag/v2.0.33 web
- http://packetstormsecurity.com/files/156505/Magento-WooCommerce-CardGate-Payment-Gateway-2.0.30-Bypass.html web