Description (CNA)
Grav before 2.0.16 contains an incomplete default denylist in the Twig sandbox configuration that fails to block access to system configuration secrets. Attackers with page-edit permission can use config.get() or config.toArray() in Twig templates to retrieve sensitive values like system.cache.redis.password when config_access is enabled.
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-xjw5-q542-3vmr
- https://www.vulncheck.com/advisories/grav-before-information-disclosure-via-twig-sandbox
ADP enrichment
No English description supplied.