craftcms/cms is vulnerable to Remote Code Execution
82
CVSS Score
High
Remote Code Execution
Craft CMS cleanses the outer element-search condition array but re-decodes and merges the JSON in the condition config without cleansing it again. Yii special configuration keys hidden inside that JSON string survive the first cleanse and are interpreted as behavior and event configuration during field-layout creation. An authenticated control-panel user can inject these keys to execute operating-system commands as the web user. The fix re-cleanses the decoded configuration before it is applied.
Upgrade the craftcms/cms library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and authenticated control-panel users can submit element-search condition configuration.
4.0.0 - 4.18.1
Fixed in 4.18.25.0.0 - 5.10.5
Fixed in 5.10.6craftcms/cms is vulnerable to Remote Code Execution in versions 4.0.0 - 4.18.1 and 5.0.0 - 5.10.5.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.