Description (CNA)
Craft CMS from 5.8.0 before 5.11.0 contains a remote code execution vulnerability that allows authenticated administrators to inject Yii behaviors by supplying a JSON-string field layout to ContentBlock::setFieldLayout(). Attackers with allowAdminChanges enabled can include 'as X' or 'on X' keys that bypass cleanseConfig() to execute OS commands as the web user and disclose secrets.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| craftcms / cms | affected 5.8.0 before 5.11.0; unaffected 5.11.0 |
CWE
CWE-94
References
- https://github.com/craftcms/cms/security/advisories/GHSA-j6r9-fxgv-j7x5
- https://www.vulncheck.com/advisories/craft-cms-5.8.0-before-5.11.0-admin-rce-via-contentblock-field-layout
ADP enrichment
No English description supplied.
No references supplied.