Authenticated RCE via `condition.config` JSON cleanse bypass
craftcms cms
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| craftcms cms |
| No fix yet |
Original description
Craft CMS versions from 4.0.0-RC1 before 4.18.2 and from 5.0.0-RC1 before 5.10.6 contain an authenticated remote code execution vulnerability in control panel element-search condition handling. A JSON cleanse bypass in condition.config allows Yii behavior/event configuration keys to be interpreted after decoding, enabling command execution as the PHP/web user.
From the CVE record · Hackrate