{"answers":{"affected":"2 open source packages ship an affected version, including cardgate/magento2. It affects 2 products.","exploited":"There is no known exploitation of CVE-2020-8818 in the wild and no public exploit code.","fix":"Upgrade cardgate/magento2 to 2.0.33 or later.","what":"CVE-2020-8818 is a high-severity missing authorization vulnerability in Adobe Magento, published on 25 Feb 2020. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-8818 and fix it if it is affected.\n\nWhat it is: CVE-2020-8818 is a high-severity missing authorization vulnerability in Adobe Magento, published on 25 Feb 2020. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-8818 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cardgate/magento2 (Packagist): affected all versions; fixed in 2.0.33\n- cardgate/magento2 (Packagist): affected all versions; fixed in 2.0.33\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-8818/ (Markdown: https://insights.sbomify.com/CVE-2020-8818/index.md)","id":"CVE-2020-8818","markdown":"https://insights.sbomify.com/CVE-2020-8818/index.md","name":"CVE-2020-8818","record":{"aliases":["GHSA-qf6q-qfwp-vp44"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Magento payment plugin","requires_auth":"low_privilege","summary":"Attackers can bypass payment verification and modify critical plugin settings by sending unauthenticated IPN callbacks due to missing origin authentication.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"magento","vendor":"adobe"},{"product":"cardgate_payments","vendor":"cardgate"}],"cvss":{"score":8.1,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"}],"description":"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Origin Validation Error in Magento 2","id":"CVE-2020-8818","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":"adobe:magento","products":["adobe:magento"],"type":"missing_authorization","year":"2020"},"n_packages":2,"n_references":3,"next":{"headline":"CardGate Payments plugin for WooCommerce does not validate request origin","id":"CVE-2020-8819"},"packages":[{"ecosystem":"Packagist","fixed":["2.0.33"],"introduced":["0"],"last_affected":[],"package":"cardgate/magento2","purl":null,"source":"GHSA-qf6q-qfwp-vp44"},{"ecosystem":"Packagist","fixed":["2.0.33"],"introduced":["0"],"last_affected":[],"package":"cardgate/magento2","purl":"pkg:composer/cardgate/magento2","source":"GHSA-qf6q-qfwp-vp44"}],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2020-8817"},"products":["n/a"],"published":"2020-02-25","related":[{"cvss_score":8.1,"headline":"Magento Commerce Insecure Direct Object Reference Could Lead To Information Disclosure","id":"CVE-2021-21013","kev_date_added":null,"published":"2021-01-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can bypass payment verification and modify critical plugin settings by sending unauthenticated IPN callbacks due to missing origin authentication.","url":"https://insights.sbomify.com/CVE-2020-8818/"}