Advisory

GHSA-5pq5-9phv-q5j3

Also known as: CVE-2020-8819

Summary

CardGate Payments plugin for WooCommerce does not validate request origin

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 17:09 UTC
Modified
2023-11-08 04:04 UTC

Affected packages and fixes

cardgate/woocommerce

Packagist · All systems

Affected

  • introduced 0, fixed 3.1.16 (ecosystem)

Fixed versions

3.1.16

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences