CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2020 · Silverstripe

CVE-2020-9309
Silverstripe Mimevalidator vulnerability

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.

Affected products

Mimevalidator, Recipe. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Silverstripe Mimevalidator runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Silverstripe products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.