Advisory

GHSA-g475-pch5-6wvv

Also known as: CVE-2020-5777

Summary

Authentication bypass in MAGMI

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-05-06 18:54 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

dweeves/magmi

Packagist · All systems

Affected

  • introduced 0, fixed 0.7.24 (ecosystem)

Fixed versions

0.7.24

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences