Vulnerability Description
Silverstripe CMS through 4.5 can be susceptible to script execution from malicious upload contents under allowed file extensions (for example HTML code in a TXT file). When these files are stored as protected or draft files, the MIME detection can cause browsers to execute the file contents. Uploads stored as protected or draft files are allowed by default for authorised users only, but can also be enabled through custom logic as well as modules such as silverstripe/userforms. Sites using the previously optional silverstripe/mimevalidator module can configure MIME whitelists rather than extension whitelists, and hence prevent this issue. Sites on the Common Web Platform (CWP) use this module by default, and are not affected.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Silverstripe | Mimevalidator | < 2.0.0 |
| Silverstripe | Recipe | >= 4.0.0, < 4.6.0 |
Related Weaknesses (CWE)
References
- https://www.silverstripe.org/download/security-releases/CVE-2020-9309Vendor Advisory
- https://www.silverstripe.org/download/security-releases/CVE-2020-9309Vendor Advisory
FAQ
What is CVE-2020-9309?
CVE-2020-9309 is a vulnerability with a CVSS score of 8.8 (HIGH). Silverstripe CMS through 4.5 can be susceptible to script execution from malicious upload contents under allowed file extensions (for example HTML code in a TXT file). When these files are stored as p...
How severe is CVE-2020-9309?
CVE-2020-9309 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-9309?
Check the references section above for vendor advisories and patch information. Affected products include: Silverstripe Mimevalidator, Silverstripe Recipe.