{"answers":{"affected":"2 open source packages ship an affected version, including dweeves/magmi. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-5776 exists.","fix":"No fix has been published for CVE-2020-5776 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-5776 is a high-severity vulnerability in MAGMI, published on 1 Sep 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-5776 and fix it if it is affected.\n\nWhat it is: CVE-2020-5776 is a high-severity vulnerability in MAGMI, published on 1 Sep 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-5776 exists.\n\nAffected packages and fixed versions:\n- dweeves/magmi (Packagist): affected all versions up to 0.7.24; no fix listed\n- dweeves/magmi (Packagist): affected all versions up to 0.7.24; no fix listed\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-5776/ (Markdown: https://insights.sbomify.com/CVE-2020-5776/index.md)","id":"CVE-2020-5776","markdown":"https://insights.sbomify.com/CVE-2020-5776/index.md","name":"CVE-2020-5776","record":{"aliases":["GHSA-cv7m-wc7g-7gfp"],"analysis":{"component_type":"developer_tool","fix_type":"no_fix_stated","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Magento import tool","requires_auth":"none","summary":"Attackers can exploit CSRF to execute remote code via phpcli command if an admin session is active in MAGMI.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"tenable","cpe":[{"product":"magmi","vendor":"magmi_project"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"Currently, all versions of MAGMI are vulnerable to CSRF due to the lack of CSRF tokens. RCE (via phpcli command) is possible in the event that a CSRF is leveraged against an existing admin session for MAGMI.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-5776.yaml","stars":null,"title":"MAGMI - Cross-Site Request Forgery"}],"tier":"weaponised"},"has_fix":false,"headline":"Cross-Site Request Forgery in MAGMI","id":"CVE-2020-5776","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"csrf","year":"2020"},"n_packages":2,"n_references":1,"next":{"headline":"Authentication bypass in MAGMI","id":"CVE-2020-5777"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["0.7.24"],"package":"dweeves/magmi","purl":null,"source":"GHSA-cv7m-wc7g-7gfp"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["0.7.24"],"package":"dweeves/magmi","purl":"pkg:composer/dweeves/magmi","source":"GHSA-cv7m-wc7g-7gfp"}],"prev":{"headline":"Server-side request forgery in Instructure Canvas Learning Management System (LMS)","id":"CVE-2020-5775"},"products":["MAGMI"],"published":"2020-09-01","related":[{"cvss_score":9.8,"headline":"Authentication bypass in MAGMI","id":"CVE-2020-5777","kev_date_added":null,"published":"2020-09-01"},{"cvss_score":9,"headline":"MAGMI plugin for Magento Unsafe File Upload","id":"CVE-2014-8770","kev_date_added":null,"published":"2014-11-13"},{"cvss_score":6.1,"headline":"Magmi XSS Vulnerability","id":"CVE-2017-7391","kev_date_added":null,"published":"2017-04-01"},{"cvss_score":5,"headline":"MAGMI plugin for Magento Server Directory Traversal","id":"CVE-2015-2067","kev_date_added":null,"published":"2015-02-24"},{"cvss_score":4.3,"headline":"MAGMI cross-site scripting (XSS)","id":"CVE-2015-2068","kev_date_added":null,"published":"2015-02-24"}],"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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can exploit CSRF to execute remote code via phpcli command if an admin session is active in MAGMI.","url":"https://insights.sbomify.com/CVE-2020-5776/"}