CVE-2020-9280: Silverstripe/framework SilverStripe Folders Migrated From 3.x Vulnerability
HIGHCVE-2020-9280 is a HIGH (CVSS 7.5) silverstripe folders migrated from 3.x vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting Silverstripe/framework libraries in the Packagist ecosystem. The issue involves silverstripe folders migrated from 3.x may be unsafe to upload to. Remediation is available by upgrading affected packages to version 4.4.6, 5.4.2, 1.4.7, 1.5.2.
CVE-2020-9280 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2020-9280
To remediate this vulnerability, upgrade all affected Silverstripe/framework dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade silverstripe/framework to 4.4.6
Upgrade silverstripe/userforms to 5.4.2
Upgrade silverstripe/assets to 1.4.7
Upgrade silverstripe/assets to 1.5.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for silverstripe/framework
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-9280, inspect your project dependencies for Silverstripe/framework:
inspect dependencies for silverstripe/framework
Analyze the terminal output to locate any version of Silverstripe/framework in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.4.6), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. In Silverstripe/framework, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-9280 Affected Silverstripe/framework Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
silverstripe/framework
|
Packagist |
≥ 4.0.0
< 4.4.6
|
4.4.6
|
|
silverstripe/userforms
|
Packagist |
≥ 5.0.0
< 5.4.2
|
5.4.2
|
|
silverstripe/assets
|
Packagist |
≥ 1.0.0
< 1.4.7
|
1.4.7
|
|
silverstripe/assets
|
Packagist |
≥ 1.5.0
< 1.5.2
|
1.5.2
|
References
Frequently Asked Questions
What is CVE-2020-9280?
Which Silverstripe/framework versions are affected?
What version fixes CVE-2020-9280?
Is silverstripe/framework affected?
Is silverstripe/userforms affected?
What is the CVSS score of CVE-2020-9280?
What CWE is associated with CVE-2020-9280?
How can I check Packagist dependencies for CVE-2020-9280?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-592m-4533-rxq9",
"modified" : "2024-04-25T21:06:35Z",
"published" : "2022-05-24T17:15:19Z",
"aliases" : [ "CVE-2020-9280" ],
"summary" : "SilverStripe Folders migrated from 3.x may be unsafe to upload to",
"details" : "In SilverStripe through 4.5, files uploaded via Forms to folders migrated from Silverstripe CMS 3.x may be put to the default \"/Uploads\" folder instead. This affects installations which allowed upload folder protection via the optional silverstripe/secureassets module under 3.x. This module is installed and enabled by default on the Common Web Platform (CWP). The vulnerability only affects files uploaded after an upgrade to 4.x.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/framework"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.4.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/userforms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.4.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/assets"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.4.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/assets"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.5.0"
}, {
"fixed" : "1.5.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-9280"
}, {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-assets/commit/6779fd3c8c1c05a3db5035bf6e541c9483d161fc"
}, {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-userforms/commit/3bbad2044279ade5e5a5d0ae1822bafe479f8a26"
}, {
"type" : "WEB",
"url" : "https://forum.silverstripe.org/c/releases"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/assets/CVE-2020-9280.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/silverstripe/silverstripe-framework"
}, {
"type" : "WEB",
"url" : "https://www.silverstripe.org/download/security-releases"
}, {
"type" : "WEB",
"url" : "https://www.silverstripe.org/download/security-releases/cve-2020-9280"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-434" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-25T21:06:35Z",
"nvd_published_at" : "2020-04-15T21:15:00Z"
}
}