NetSight
high8.1

CVE-2020-8818

Origin Validation Error in Magento 2

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
composercardgate/magento2< 2.0.332.0.33

Affected products

VendorProductAffected versions
CardgateCardgate Payments
through 2.0.30
AdobeMagento
Version 2.3.4

Weakness classification

References