Overview
- 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.
- Source
- cve@mitre.org
- NVD status
- Analyzed
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 8.8
- Impact score
- 5.9
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity
- HIGH
CVSS 2.0
- Type
- Primary
- Base score
- 6.8
- Impact score
- 6.4
- Exploitability score
- 8.6
- Vector string
- AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
- nvd@nist.gov
- CWE-434
Social media
- Hype score
- Not currently trending
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:silverstripe:mimevalidator:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "2B73DB50-72A1-4602-9844-F39219913D13", "versionEndExcluding": "2.0.0" }, { "criteria": "cpe:2.3:a:silverstripe:recipe:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "E4DB8C57-082C-4489-B296-BD07F20759E3", "versionEndExcluding": "4.6.0", "versionStartIncluding": "4.0.0" } ], "operator": "OR" } ] } ]