CVE-2020-9309

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductSilverstripe Mimevalidator
PublishedJul 15, 2020
First seenJul 15, 2020

How to fix

Update
  • silverstripe mimevalidator2.0.0 or later
  • silverstripe recipe4.6.0 or later

Affected products

ProductAffected versionsFixed in
silverstripe mimevalidatorv < 2.0.02.0.0
silverstripe recipe4.0.0 ≤ v < 4.6.04.6.0
silverstripe/cmsPackagistv ≤ 4.5.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2020-9309 · Silverstripe Mimevalidator · Dark Radar