Description (CNA)
Craft CMS is a content management system (CMS). From 4.0.0 to before 4.17.12 and 5.9.18, Craft CMS which contains an input-handling flaw in a Yii object creation path that let any authenticated user inject malicious configuration and execute arbitrary commands on the server. The request-controlled condition field layouts data is converted into a live FieldLayout object without a Component::cleanseConfig() boundary. Because Craft configures models before parent::__construct(), attacker-controlled special config keys can take effect during object creation, and FieldLayout initialization then triggers a same-request event. This vulnerability is fixed in 4.17.12 and 5.9.18.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| craftcms / cms | affected >= 4.0.0, < 4.17.12; affected >= 5.0.0, < 5.9.18 |
CWE
CWE-479
References
- https://github.com/craftcms/cms/security/advisories/GHSA-qrgm-p9w5-rrfw
- https://github.com/craftcms/cms/commit/ab85ca7f5f926994f723f60584054a1f4c4c5de3
ADP enrichment
No English description supplied.