logo

GHSA-vcg6-8fxc-x5cq silverstripe/framework

Package

Manager: composer
Name: silverstripe/framework
Vulnerable Version: >=3.6.5-rc1 <3.6.6 || >=4.0.3-rc1 <4.0.4 || >=4.1.0-rc1 <4.1.1

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

silverstripe/framework allows upload of dangerous file types Some potentially dangerous file types exist in File.allowed_extensions which could allow a malicious CMS user to upload files that then get executed in the security context of the website. We have removed the ability to upload .css, .js, .potm, .dotm, .xltm and .jar files in the default configuration. Since allowed_extensions are synced to webserver configuration (in assets/.htaccess) automatically, this will also deny access to any existing uploads with these extensions. Review our security guidelines for the Common Web Platform and the File Security guide for SilverStripe 4 to find out how to add or remove extensions.

Metadata

Created: 2024-05-27T23:35:14Z
Modified: 2024-05-27T23:35:14Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-vcg6-8fxc-x5cq/GHSA-vcg6-8fxc-x5cq.json
CWE IDs: ["CWE-434"]
Alternative ID: N/A
Finding: F027
Auto approve: 1