Skip to content

CVE-2020-5777 Authentication bypass in MAGMI

CriticalCVSS 9.8 EPSS 23.3% Scanner template
Published
Updated
Exploit status
No public exploit known
Technology
PHPMySQL

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
dweeves/magmi(Packagist) < 0.7.24; = 0.7.19; = 0.7.19a; = 0.7.20 +2 more 0.7.24 Fixed
magmi project magmi < 0.7.24 0.7.24 Fixed

Affected products

ProductAffected versionsFixed in
dweeves/magmi(Packagist) < 0.7.24 0.7.24
dweeves/magmi(Packagist) = 0.7.19 No fix listed
dweeves/magmi(Packagist) = 0.7.19a No fix listed
dweeves/magmi(Packagist) = 0.7.20 No fix listed
dweeves/magmi(Packagist) = 0.7.21 No fix listed
dweeves/magmi(Packagist) = 0.7.22 No fix listed
magmi project magmi < 0.7.24 0.7.24

References