Description
Grav Login Plugin versions before 3.8.13 contain an insufficient session expiration vulnerability in TokenStorage.php where the findTriplet() method fails to properly validate Remember Me token timestamps. Attackers with a captured Remember Me cookie can authenticate indefinitely instead of the configured timeout period, as the expiry check compares an array to a scalar value which always evaluates incorrectly in PHP.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getgrav | grav | < 3.8.13 | 3.8.13 |
References
- GitHub Security Advisory (GHSA-mj78-8gwc-vxjj) vendor-advisory
- VulnCheck Advisory: Grav Login Plugin before 3.8.13 Insufficient Session Expiration third-party-advisory