Grav CMS before 2.0.16 Timing Attack via verifyNonce
getgrav grav
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| getgrav/grav Packagist |
|
|
Original description
Grav CMS before 2.0.16 contains a timing vulnerability in Utils::verifyNonce() that uses non-constant-time string comparison with the === operator instead of hash_equals() for CSRF nonce validation. Attackers can measure response timing differences to recover valid nonce values byte-by-byte through multiple requests, weakening CSRF protection below its intended security margin.
From the CVE record · VulnCheck