GHSA-5pq5-9phv-q5j3

Suggest an improvement
Source
https://github.com/advisories/GHSA-5pq5-9phv-q5j3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-5pq5-9phv-q5j3/GHSA-5pq5-9phv-q5j3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5pq5-9phv-q5j3
Aliases
Published
2022-05-24T17:09:38Z
Modified
2023-11-08T04:04:18.596834Z
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
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.

Database specific
{
    "nvd_published_at": "2020-02-25T02:15:00Z",
    "cwe_ids": [
        "CWE-346"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-12T21:14:54Z"
}
References

Affected packages

Packagist / cardgate/woocommerce

Package

Name
cardgate/woocommerce
Purl
pkg:composer/cardgate/woocommerce

Affected ranges

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

Database specific

{
    "last_known_affected_version_range": "<= 3.1.15"
}