Description (CNA)
Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14 passes the raw 'updates' request parameter in AppController::actionCacheUpdates to UpdatesModel without Component::cleanseConfig(), allowing behavior and event-handler injection. Authenticated control panel users with the performUpdates permission or Updates-utility access can supply 'as' or 'on' keys, such as an AttributeTypecastBehavior gadget, to execute arbitrary code.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| craftcms / cms | affected 4.0.0 before 4.18.7; unaffected 4.18.7 |
| craftcms / cms | affected 5.0.0 before 5.10.14; unaffected 5.10.14 |
CWE
CWE-94
References
- https://github.com/craftcms/cms/security/advisories/GHSA-5m2g-hhqr-84pc
- https://www.vulncheck.com/advisories/craft-cms-4.0.0-before-4.18.7-and-5.0.0-before-5.10.14-rce-via-actioncacheupdates-behavior-injection
ADP enrichment
No English description supplied.
No references supplied.