GitHub Advisoryadvisory · Packagist

GHSA-g475-pch5-6wvv Authentication bypass in MAGMI

CRITICAL Published 2021-05-06 Modified 2021-05-05 Official page ↗
Aliases
CVE-2020-5777
Ecosystem
Packagist
Packages
dweeves/magmi
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-287
Reviewed
2021-05-05

Affected packages

• Packagist dweeves/magmi: < 0.7.24 → fixed in 0.7.24

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.

Related

Alias · CVE (1)

  • CVE-2020-5777 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… vulnerability

Weakness · CWE (1)

  • CWE-287 Improper Authentication weakness

References