GHSA-qf6q-qfwp-vp44

Suggest an improvement
Source
https://github.com/advisories/GHSA-qf6q-qfwp-vp44
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-qf6q-qfwp-vp44/GHSA-qf6q-qfwp-vp44.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qf6q-qfwp-vp44
Aliases
Published
2021-10-12T16:30:58Z
Modified
2023-11-08T04:04:18.535637Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Origin Validation Error in Magento 2
Details

An issue was discovered in the CardGate Payments plugin through 2.0.30 for Magento 2. Lack of origin authentication in the IPN callback processing function in Controller/Payment/Callback.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.

Database specific
{
    "nvd_published_at": "2020-02-25T02:15:00Z",
    "github_reviewed_at": "2021-10-08T22:34:05Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-346"
    ]
}
References

Affected packages

Packagist / cardgate/magento2

Package

Name
cardgate/magento2
Purl
pkg:composer/cardgate/magento2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.33

Affected versions

2.*

2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
2.0.10
2.0.11
2.0.13
2.0.14
2.0.15
2.0.16
2.0.17
2.0.18
2.0.19
2.0.20
2.0.21
2.0.22
2.0.23
2.0.24
2.0.25
2.0.26
2.0.27
2.0.28
2.0.30
2.0.31
2.0.32

v2.*

v2.0.29