#VU25673 Origin validation error in CardGate Payments for WooCommerce - CVE-2020-8819
Published: February 28, 2020 / Updated: June 17, 2021
Vulnerability identifier: #VU25673
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2020-8819
CWE-ID: CWE-346
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerable software:
CardGate Payments for WooCommerce
CardGate Payments for WooCommerce
Software vendor:
CardGate
CardGate
Description
The vulnerability allows a remote attacker to compromise the target system.
The vulnerability exists due to a lack of origin authentication at IPN callback processing function. A remote attacker can replace critical plugin settings (merchant id, secret key etc) with known to him and therefore bypass payment process (eg. spoof order status by manually sending IPN callback request with a valid signature but without real payment) and/or receive all subsequent payments (on behalf of the store).Remediation
Install updates from vendor's website.
External links
- http://packetstormsecurity.com/files/156504/WordPress-WooCommerce-CardGate-Payment-Gateway-3.1.15-Bypass.html
- https://github.com/cardgate/woocommerce/blob/f2111af7b1a3fd701c1c5916137f3ac09482feeb/cardgate/cardgate.php#L426-L442
- https://github.com/cardgate/woocommerce/issues/18
- https://wpvulndb.com/vulnerabilities/10097
- https://www.exploit-db.com/exploits/48134