Description (CNA)
Craft CMS from 5.10.2 before 5.10.14 contains a Twig sandbox bypass that allows non-admin users to invoke PHP callables through the "has some" and "has every" operators. Users with the System Messages permission can supply two-argument callables such as passthru or system in sandboxed templates to execute code as the web user.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| craftcms / cms | affected 5.10.2 before 5.10.14; unaffected 5.10.14 |
CWE
CWE-1336
References
- https://github.com/craftcms/cms/security/advisories/GHSA-vfcw-xv8p-8rj2
- https://www.vulncheck.com/advisories/craft-cms-5.10.2-before-5.10.14-twig-sandbox-bypass-rce-via-has-some-has-every
ADP enrichment
No English description supplied.
No references supplied.