Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS01cHE1LTlwaHYtcTVqM84AAjrX
CardGate Payments plugin for WooCommerce does not validate request origin
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.
Permalink: https://github.com/advisories/GHSA-5pq5-9phv-q5j3JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS01cHE1LTlwaHYtcTVqM84AAjrX
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 2 years ago
Updated: 10 months ago
CVSS Score: 8.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Identifiers: GHSA-5pq5-9phv-q5j3, CVE-2020-8819
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-8819
- https://github.com/cardgate/woocommerce/issues/18
- https://github.com/cardgate/woocommerce/blob/f2111af7b1a3fd701c1c5916137f3ac09482feeb/cardgate/cardgate.php#L426-L442
- https://wpvulndb.com/vulnerabilities/10097
- https://www.exploit-db.com/exploits/48134
- http://packetstormsecurity.com/files/156504/WordPress-WooCommerce-CardGate-Payment-Gateway-3.1.15-Bypass.html
- https://github.com/cardgate/woocommerce/pull/17/commits/0b83588d604c8c56c7fded43144fcced96b2ada9
- https://github.com/advisories/GHSA-5pq5-9phv-q5j3
Blast Radius: 1.0
Affected Packages
packagist:cardgate/woocommerce
Affected Version Ranges: <= 3.1.15Fixed in: 3.1.16