llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · getgrav/grav-plugin-login

GHSA-5RPH-JQCF-2X36

Pending 2FA sessions can update Login plugin profile data through unprotected page forms

Sin parche publicado
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición57 dDesde la divulgación, 23 sept 2026, 2:09 p. m.
Detección56 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
23 sept 26
18 nov 26
19 nov 26
23 sept 26
8 oct 26
22 oct 26
5 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-5RPH-JQCF-2X36 divulgada
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Summary

With front-end 2FA enabled, a successful password check creates a pending session whose user is authenticated but not yet authorized. The Login plugin's profile-update form handler checks that the session user exists, but does not require the session to be fully authorized. A page without an access rule can therefore invoke the profile-update action while the second-factor challenge is still pending.

Affected versions

Static review confirms the vulnerable code in grav-plugin-login 3.9.8. The relevant 2FA behavior first appears in release 2.7.0, so the recommended affected range is 2.7.0 through 3.9.8. Historical releases were not dynamically tested.

Details

`processUserProfile()` validates the submitted form and checks `user->exists()`, then updates fields allowed by the Login plugin's profile configuration. During a delayed 2FA login, the user exists and is authenticated, but `authorized` remains false. The normal profile page is protected and rejects that pending session; a page without protected access returns before that gate and can still dispatch the same `update_user` form action.

Impact

An attacker who has the victim's password and can publish the required page form can change allowed profile data before completing the victim's second factor. Where `twofa_enabled` is an allowed profile field, this can remove the second-factor requirement and permit account takeover. This crosses the 2FA trust boundary.

Patches

A patched release is not yet available. The fix must require a fully authorized session before any profile mutation. Version details will be added when the fix is tested and tagged.

Credits

Reported by @redwolf1919.

Versiones

Rangos afectados

Afectada Corregida
getgrav/grav-plugin-login≤ 3.9.8
3.9.8
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistgetgrav/grav-plugin-login
Sin parche — — —
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/getgrav/grav/security/advisories/GHSA-5rph-jqcf-2x36

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.