Authentication bypass in MAGMI
The advisory, in context
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.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
Earlier releases before 0.7.24
Fixed in 0.7.24
5 explicitly affected versions
0.7.19, 0.7.19a, 0.7.20, 0.7.21, 0.7.22
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.7.24"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.7.19",
"0.7.19a",
"0.7.20",
"0.7.21",
"0.7.22"
]
}