SB2020030206 - Origin validation error in CardGate module for Magento 2



SB2020030206 - Origin validation error in CardGate module for Magento 2

Published: March 2, 2020

Security Bulletin ID SB2020030206
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Origin validation error (CVE-ID: CVE-2020-8818)

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 in "Controller/Payment/Callback.php" file. 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 update from vendor's website.