Lucene search

K
osvGoogleOSV:GHSA-H77W-655F-6J3M
HistoryMay 24, 2022 - 5:23 p.m.

Silverstripe CMS malicious file upload enables script execution

2022-05-2417:23:42
Google
osv.dev
5
silverstripe cms
malicious upload
script execution
mime detection
file extensions
authorized users
custom logic
modules
cwp

EPSS

0.002

Percentile

55.6%

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.

EPSS

0.002

Percentile

55.6%

Related for OSV:GHSA-H77W-655F-6J3M