Description (CNA)
Craft CMS is a content management system (CMS). From version 5.6.0 to before version 5.9.11, in src/controllers/EntryTypesController.php, the $settings array from parse_str is passed directly to Craft::configure() without Component::cleanseConfig(). This allows injecting Yii2 behavior/event handlers via "as" or "on" prefixed keys, the same attack vector as the original advisory. Craft control panel administrator permissions and allowAdminChanges must be enabled for this to work. This issue has been patched in version 5.9.11.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| craftcms / cms | affected >= 5.6.0, < 5.9.11 |
CWE
CWE-470
References
- https://github.com/craftcms/cms/security/advisories/GHSA-qx2q-q59v-wf3j
- https://github.com/craftcms/cms/security/advisories/GHSA-7jx7-3846-m7w7
- https://github.com/craftcms/cms/commit/d37389dbffafa565143be40a2ab1e1db22a863f7
ADP enrichment
No English description supplied.
No references supplied.