SilverStripe CMS 3.6.2 CSV Excel Macro Injection

SilverStripe CMS version 3.6.2 suffers from a CSV excel macro injection vulnerability.

MD5 | 3a26a8f7ddb60fce91ed660e9db18dbe

Exploit Title: SilverStripe CMS - 3.6.2 CSV Excel Macro Injection
Vendor Homepage:
Software Link:
Discovered by: Ishaq Mohammed
Category: web apps
Platform: PHP


In the CSV export feature of the SilverStripe CMS, it's possible for the
output to contain macros and scripts, which if imported without
sanitization into software (including Microsoft Excel) may be executed.

Proof of Concept
Steps to Reproduce:

1. Login with normal user's credentials
2. Access the below URL via your browser:
3. Enter the below payload in the "First Name" field and save the profile"
@SUM(1+1)*cmd|' /C calc'!A0
4. Log in with admin's credentials on a different browser
5. Access te security page at the below link:
6. Click on "Export to CSV" option and open the exported CSV file in any
Spreadsheet application

The issue has been fixed in the latest release of SilverStripe which can be
downloaded from here:


Best Regards,
Ishaq Mohammed

Related Posts