CVE-2020-8818 Origin Validation Error in Magento 2

High 8.1 Published Updated

Attackers can bypass payment verification and modify critical plugin settings by sending unauthenticated IPN callbacks due to missing origin authentication.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-8818?

CVE-2020-8818 is a high-severity missing authorization vulnerability in Adobe Magento, published on 25 Feb 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-346

Which versions are affected by CVE-2020-8818?

2 open source packages ship an affected version, including cardgate/magento2. It affects 2 products.

PackageAffectedFixed in
cardgate/magento2 PackagistAll versions2.0.33
cardgate/magento2 PackagistAll versions2.0.33

Products include Adobe Magento, Cardgate Cardgate Payments.

How do I fix CVE-2020-8818?

Upgrade cardgate/magento2 to 2.0.33 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2020-8818 being exploited?

There is no known exploitation of CVE-2020-8818 in the wild and no public exploit code.

All Adobe Magento vulnerabilities

Sources

Also known as GHSA-qf6q-qfwp-vp44.

Is CVE-2020-8818 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free