{"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-5777 exists.","fix":"Upgrade dweeves/magmi to 0.7.24 or later.","what":"CVE-2020-5777 is a critical authentication bypass vulnerability in MAGMI, published on 1 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-5777 and fix it if it is affected.\n\nWhat it is: CVE-2020-5777 is a critical authentication bypass vulnerability in MAGMI, published on 1 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-5777 exists.\n\nAffected packages and fixed versions:\n- dweeves/magmi (Packagist): affected all versions; fixed in 0.7.24\n- dweeves/magmi (Packagist): affected all versions; fixed in 0.7.24\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-5777/ (Markdown: https://insights.sbomify.com/CVE-2020-5777/index.md)","id":"CVE-2020-5777","markdown":"https://insights.sbomify.com/CVE-2020-5777/index.md","name":"CVE-2020-5777","record":{"aliases":["GHSA-g475-pch5-6wvv"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Magento import tool","requires_auth":"none","summary":"Remote attackers can bypass authentication in MAGMI by triggering database connection failures to exploit default credentials, requiring specific server configuration mismatches.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"tenable","cpe":[{"product":"magmi","vendor":"magmi_project"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"MAGMI versions prior to 0.7.24 are vulnerable to a remote authentication bypass due to allowing default credentials in the event there is a database connection failure. A remote attacker can trigger this connection failure if the Mysql setting max_connections (default 151) is lower than Apache (or another web server) setting MaxRequestWorkers (formerly MaxClients) (default 256). This can be done by sending at least 151 simultaneous requests to the Magento website to trigger a \"Too many connections\" error, then use default magmi:magmi basic authentication to remotely bypass authentication.","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-5777.yaml","stars":null,"title":"Magento Mass Importer  \u003c0.7.24 - Remote Auth Bypass"}],"tier":"weaponised"},"has_fix":true,"headline":"Authentication bypass in MAGMI","id":"CVE-2020-5777","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"auth_bypass","year":"2020"},"n_packages":2,"n_references":1,"next":{"headline":"Denial of service in Trading Technologies Messaging","id":"CVE-2020-5778"},"packages":[{"ecosystem":"Packagist","fixed":["0.7.24"],"introduced":["0"],"last_affected":[],"package":"dweeves/magmi","purl":null,"source":"GHSA-g475-pch5-6wvv"},{"ecosystem":"Packagist","fixed":["0.7.24"],"introduced":["0"],"last_affected":[],"package":"dweeves/magmi","purl":"pkg:composer/dweeves/magmi","source":"GHSA-g475-pch5-6wvv"}],"prev":{"headline":"Cross-Site Request Forgery in MAGMI","id":"CVE-2020-5776"},"products":["MAGMI"],"published":"2020-09-01","related":[{"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":8.8,"headline":"Cross-Site Request Forgery in MAGMI","id":"CVE-2020-5776","kev_date_added":null,"published":"2020-09-01"},{"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":"Remote attackers can bypass authentication in MAGMI by triggering database connection failures to exploit default credentials, requiring specific server configuration mismatches.","url":"https://insights.sbomify.com/CVE-2020-5777/"}