Grav Login Plugin 2.7.0 before 3.9.9 2FA Bypass via Profile Update Form
getgrav grav-plugin-login
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| getgrav grav-plugin-login |
|
|
Original description
Grav Login plugin 2.7.0 before 3.9.9 contains an authentication bypass in processUserProfile(), which checks that the session user exists but not that a pending front-end 2FA session is fully authorized. Attackers with a victim's password who can publish a page form without an access rule can invoke update_user before completing 2FA to disable twofa_enabled and take over the account.
From the CVE record · VulnCheck