GHSA-3HG8-3P7W-9P9H
Bypass of the per-account login limit via the letter case of the email address
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-3HG8-3P7W-9P9H divulgada · CVSS 6.3 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
Attackers who know a user's email address can make more failed login attempts against that account than the `auth.trials` option allows.
You're affected if
- Kirby <=4.9.7 or 5.0.0–5.6.3
- Attackers know the email address of an account; they need no account themselves
- They can send login requests from many different IP addresses
This covers logins in the Panel and the REST API, including HTTP basic auth (`api.basicAuth`), and code that calls the login methods of `Kirby\Cms\Auth` (`login()`, `login2fa()`, `validatePassword()`, `createChallenge()`, `verifyChallenge()`).
Potential damage
- Can get a separate allowance of `auth.trials` failed attempts (default: 10) for each letter-case spelling of the account's email address
- Can use these attempts to guess the password, or the one-time code of the `code` and `password-reset` login methods and of 2FA
- Can log in as that user if a guess is correct
- Cannot make more attempts from a single IP address than before
- Cannot log in to an account with 2FA by guessing the password alone
Patches
- Fixed in Kirby 4.9.8
https://github.com/getkirby/kirby/releases/tag/4.9.8and Kirby 5.6.4https://github.com/getkirby/kirby/releases/tag/5.6.4 - Failed logins are now counted per account regardless of email case.
Workarounds
- Make sure all accounts use strong passwords, admin accounts first.
- Enable 2FA for password logins (`'auth' => ['methods' => ['password' => ['2fa' => true]]]`).
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistgetkirby/cms |
Corregida | 4.9.8, 5.6.4 | — | — |
4.9.85.6.4Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/getkirby/kirby/security/advisories/GHSA-3hg8-3p7w-9p9hLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
