Silverstripe silverstripe-advancedworkflow
Silverstripe Advanced Workflow: Remote code execution via advanced workflow email template
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 6.4.5
- >= 7.0.0, < 7.1.3
- >= 7.2.0, < 7.2.1
Fixed in 6.4.5, 7.1.3, 7.2.1
Mitigation
Upgrade silverstripe-advancedworkflow to 6.4.5 or 7.1.3 or 7.2.1 or later.
References
- Vendor advisory github.com/silverstripe/silverstripe-advancedw…
- Patch github.com/silverstripe/silverstripe-advancedw…
- Patch github.com/silverstripe/silverstripe-advancedw…
5 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.