Description (CNA)
Craft CMS 4.0.0 before 4.18.8 and 5.0.0 before 5.11.0 contains a Twig sandbox allowlist bypass because the column, contains, filterByValue, index, where, and multisort filters resolve caller-supplied keys via ArrayHelper::getValue() without consulting the sandbox security policy. Authenticated Control Panel users can supply dot-path keys to traverse the craft global and disclose the securityKey, database credentials, and auth tokens.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| craftcms / cms | affected 4.0.0 before 4.18.8; unaffected 4.18.8 |
| craftcms / cms | affected 5.0.0 before 5.11.0; unaffected 5.11.0 |
CWE
CWE-200
References
- https://github.com/craftcms/cms/security/advisories/GHSA-j697-8x93-7mp2
- https://www.vulncheck.com/advisories/craft-cms-before-4.18.8-and-5.11.0-twig-sandbox-allowlist-bypass-via-array-filters
ADP enrichment
No English description supplied.
No references supplied.