Description
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.
Problem types
CWE-479: Signal Handler Use of a Non-reentrant Function
Product status
>= 5.0.0, < 5.9.18
References
github.com/...ms/cms/security/advisories/GHSA-qrgm-p9w5-rrfw
github.com/...ms/cms/security/advisories/GHSA-qrgm-p9w5-rrfw
github.com/...ommit/ab85ca7f5f926994f723f60584054a1f4c4c5de3