Unrestricted Upload of File with Dangerous Type Affecting silverstripe/framework package, versions >=3.6.5-rc1, <3.6.6 >=4.0.3-rc1, <4.0.4 >=4.1.0-rc1, <4.1.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-SILVERSTRIPEFRAMEWORK-7148714
  • published 28 May 2024
  • disclosed 27 May 2024
  • credit Insomnia Security

Introduced: 27 May 2024

CVE NOT AVAILABLE CWE-434 Open this link in a new tab

How to fix?

Upgrade silverstripe/framework to version 3.6.6, 4.0.4, 4.1.1 or higher.

Overview

silverstripe/framework is a PHP framework forming the base for the SilverStripe CMS.

Affected versions of this package are vulnerable to Unrestricted Upload of File with Dangerous Type through the File.allowed_extensions configuration. An attacker can execute arbitrary code by uploading malicious files that are then executed in the security context of the website. This is only exploitable if the attacker has permissions to upload files in the CMS.

CVSS Scores

version 3.1
Expand this section

Snyk

8.8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High