GHSA-7QFJ-82Q8-FRW6
Disabled grav-plugin-api accounts retain access through existing sessions
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-7QFJ-82Q8-FRW6 divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
Disabling an account is enforced by grav-plugin-api's API-key and JWT authenticators, but not by its session authenticator. A previously authorized browser or remember-me session can therefore continue to call API endpoints after the backing account is disabled.
Affected versions
Static review confirms the session behavior from 1.0.0-beta.1 through 1.0.35. A patched release is not yet available.
Details
`SessionAuthenticator` accepts the serialized session user when it exists and is authenticated and authorized. It reloads `access` and `groups` from the account store for each request, but does not read or enforce `state`; reload failures also retain stale authority. The API-key and JWT authenticators perform fresh disabled-account checks.
Impact
A principal whose account has been disabled can retain the API capabilities of an already authorized session until that session expires or is otherwise destroyed. The issue defeats operator revocation, but does not elevate the account beyond its previously granted permissions.
Patches
A patched release is not yet available. The fix will require the freshly loaded account to exist and remain enabled before accepting a session and will fail closed when fresh authorization data cannot be loaded.
Credits
Reported by @AlpetGexha.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistgetgrav/grav-plugin-api |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/getgrav/grav/security/advisories/GHSA-7qfj-82q8-frw6Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
