Silverstripe Advanced Workflow: Remote code execution via advanced workflow email template
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.4.5, 7.1.3, 7.2.1
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- silverstripe silverstripe-advancedworkflow
fixed in 6.4.5; From 7.0.0 · fixed in 7.1.3; From 7.2.0 · fixed in 7.2.1
- symbiote/silverstripe-advancedworkflowPackagist
fixed in 6.4.5
- symbiote/silverstripe-advancedworkflowPackagist
From 7.0.0 · fixed in 7.1.3
- symbiote/silverstripe-advancedworkflowPackagist
From 7.2.0 · fixed in 7.2.1