VDB
Sign up
CRITICAL9.8

GHSA-g475-pch5-6wvv

Authentication bypass in MAGMI

Quick fix

GHSA-g475-pch5-6wvv — dweeves/magmi: upgrade to the fixed version with the command below.

composer require dweeves/magmi:^0.7.24

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/dweeves/magmi
Introduced in: 0Fixed in: 0.7.24
Fixcomposer require dweeves/magmi:^0.7.24

References