Description (CNA)
Grav before 2.0.16 allows sandboxed Twig templates to access sensitive User fields through allow-listed offsetGet() and offsetexists() methods that lack field filtering. Attackers with page-edit permissions can call offsetGet() on User objects to extract hashed passwords and 2FA secrets, enabling offline password cracking and authentication bypass.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| getgrav / grav | affected 0 before 2.0.16; unaffected 2.0.16 |
CWE
CWE-522
References
- https://github.com/getgrav/grav/security/advisories/GHSA-3jhr-mxmx-38cx
- https://www.vulncheck.com/advisories/grav-before-information-disclosure-via-offsetget
ADP enrichment
No English description supplied.