CVE-2020-8819 CardGate Payments plugin for WooCommerce does not validate request origin

High 8.1 Published Updated

Attackers can bypass payment verification and modify critical plugin settings by sending forged 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-8819?

CVE-2020-8819 is a high-severity missing authorization vulnerability in n/a, 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 3.1.15 for WooCommerce. Lack of origin authentication in the IPN callback processing function in cardgate/cardgate.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-8819?

2 open source packages ship an affected version, including cardgate/woocommerce. It affects 1 product.

PackageAffectedFixed in
cardgate/woocommerce PackagistAll versions3.1.16
cardgate/woocommerce PackagistAll versions3.1.16

Products include Cardgate Cardgate Payments.

How do I fix CVE-2020-8819?

Upgrade cardgate/woocommerce to 3.1.16 or later.

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

Is CVE-2020-8819 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-5pq5-9phv-q5j3.

Is CVE-2020-8819 in your software?

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

Check your SBOMs for free