CVE-2020-5777
Authentication bypass in MAGMI
Record summary
CVE-2020-5777 has a selected CVSS score of 9.8 (critical); EIP currently links 1 Nuclei template.
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.
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
MAGMI | CVE List | All versions prior to version 0.7.24 | affected |
dweeves/magmiBrowse Packagist / dweeves/magmi | GitHub Advisory | Before 0.7.24 · Fixed in 0.7.24 | affected |
Nuclei templates
1ProjectDiscoveryCRITICALMagento Mass Importer <0.7.24 - Remote Auth BypassCVSS 9.8
Magento Mass Importer (aka 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.
Impact
An attacker can bypass authentication and gain unauthorized access to the Magento Mass Importer plugin.
Remediation
Upgrade to version 0.7.24 or later to fix the authentication bypass vulnerability.
Source: ProjectDiscovery