~ / search / GHSA-g475-pch5-6wvv

GHSA-g475-pch5-6wvv

Authentication bypass in MAGMI

Source: GitHub Advisory Database (reviewed) Critical CVE-2020-5777

Packages

EcosystemPackageAffectedFixed in
Packagist dweeves/magmi < 0.7.24 0.7.24

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.