GHSA-GJX3-9XM2-P599
Admidio password reset does not invalidate the reset account's existing sessions or remember-me tokens
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-GJX3-9XM2-P599 divulgada · CVSS 4.6 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
FO-ADM-2026-001 (concise — outbound default)
Admidio password reset does not invalidate the reset account's existing sessions or remember-me tokens — Medium, CWE-613.
An attacker must already hold a victim's live session cookie or remember-me cookie. During anonymous forgot-password reset, `system/password_reset.php:87` calls `User::setPassword()`, but `src/Users/Entity/User.php:1549-1573` deletes `adm_sessions` and `adm_auto_login` rows using global `$gCurrentUserId` (visitor ID 0) instead of the reset user's `usr_id`. The reset therefore succeeds without revoking that victim's credentials. This is not an authentication bypass and does not revoke another real account.
Minimal PoC on the prepared E4 harness:
H=/root/myssh-fail-open/fail-open-deepdive/out/admidio__admidio/evidence/_harness
EV=/root/myssh-fail-open/fail-open-deepdive/out/admidio__admidio/evidence/FO-ADM-2026-001
"$H/run_state.sh" failure "$EV"
curl -sv -b /root/myssh-fail-open/fail-open-deepdive/work_admidio/e4/cj_S.txt \
http://127.0.0.1:23141/modules/groups-roles/mylist.phpObserved: the emailed reset returned HTTP 200 and `{"status":"success","message":"The new password has now been applied!",...}`. The same pre-reset session then returned HTTP 200; a fresh jar containing only `ADMIDIO_*_AUTO_LOGIN_ID` also returned HTTP 200 and rotated the token for one year. The new password logged in while the old password was rejected. With `$usrId = (int)$this->getValue('usr_id')` used by both DELETEs, the identical probes returned HTTP 303 to `/system/login.php`.
Tested version only: Admidio 6.0.0 Beta 1, commit `6ddb1d5d88f85e6aab5ce9994bdd9ff40ccf9172`; no other release range is asserted. The victim must complete the emailed reset flow. `captcha_enabled=0` was a harness setting and is not required by the defect.
Fix: derive both revocation DELETEs from the `User` object's `usr_id`, not the acting global user. Also address the independent cached-`mAutoLogin` path in FO-ADM-2026-002; this report's fresh-jar remember-me result does not close that residual path.
CVSS: `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N` (4.6 Medium; UI:R because the victim uses the emailed reset link).
Full detailed report with complete reproduction steps and evidence available on request.
— Wenhao Wu, Southeast University
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistadmidio/admidio |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/Admidio/admidio/security/advisories/GHSA-gjx3-9xm2-p599Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
