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.
References
Link | Resource |
---|---|
https://www.silverstripe.org/download/security-releases/CVE-2020-9309 | Vendor Advisory |
https://www.silverstripe.org/download/security-releases/CVE-2020-9309 | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
21 Nov 2024, 05:40
Type | Values Removed | Values Added |
---|---|---|
References | () https://www.silverstripe.org/download/security-releases/CVE-2020-9309 - Vendor Advisory |
Information
Published : 2020-07-15 21:15
Updated : 2024-11-21 05:40
NVD link : CVE-2020-9309
Mitre link : CVE-2020-9309
CVE.ORG link : CVE-2020-9309
JSON object : View
Products Affected
silverstripe
- mimevalidator
- recipe
CWE
CWE-434
Unrestricted Upload of File with Dangerous Type