Silverstripe Advanced Workflow: Remote code execution via advanced workflow email template
silverstripe-advancedworkflow
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| symbiote/silverstripe-advancedworkflow Packagist |
|
|
silverstripe-advancedworkflow
| Product | Affected | Fixed in |
|---|---|---|
| symbiote/silverstripe-advancedworkflow Packagist |
|
|
Silverstripe Advanced Workflow is a highly configurable step-based workflow module. Prior to 6.4.5, 7.1.3, and 7.2.1, an attacker with permission to author the advanced workflow email template can place a specially crafted server-side template payload in NotifyUsersWorkflowAction.EmailTemplate. When NotifyUsersWorkflowAction renders the field through the Silverstripe template engine SSTemplateParser, the payload can cause PHP evaluation and arbitrary code execution on the server; the regression coverage is in tests/php/WorkflowEngineTest.php. This issue is fixed in versions 6.4.5, 7.1.3, and 7.2.1.
From the CVE record · GitHub_M
Silverstripe Advanced Workflow can execute attacker-supplied PHP when it renders a crafted NotifyUsersWorkflowAction.EmailTemplate. Exploitation requires permission to author the advanced workflow email template; the payload executes when the action renders it.
Teams running symbiote/silverstripe-advancedworkflow versions below 6.4.5, from 7.0.0 to below 7.1.3, or from 7.2.0 to below 7.2.1 should check their installations.