SilverStripe Folders migrated from 3.x may be unsafe to upload to
Impact
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.
Source excerpt · OSVThe vulnerability only affects files uploaded after an upgrade to 4.x.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 4.0.0 before 4.4.6Ecosystem versions | 4.4.6 |
Version evidence: OSV · GHSA-592m-4533-rxq9
View original version evidence (38 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 5.0.0 before 5.4.2Ecosystem versions | 5.4.2 |
Version evidence: OSV · GHSA-592m-4533-rxq9
View original version evidence (14 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 1.0.0 before 1.4.7Ecosystem versions | 1.4.7 |
| From 1.5.0 before 1.5.2Ecosystem versions | 1.5.2 |
Version evidence: OSV · GHSA-592m-4533-rxq9
View original version evidence (41 explicit versions)
Original source description
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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2020-9280
- Patch github.com/silverstripe/silverstripe-assets/commit/6779fd3c8c1c05a3db5035bf6e541c9483d161fc
- Patch github.com/silverstripe/silverstripe-userforms/commit/3bbad2044279ade5e5a5d0ae1822bafe479f8a26
- Source reference forum.silverstripe.org/c/releases
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/assets/CVE-2020-9280.yaml
- Source reference github.com/silverstripe/silverstripe-framework
- Security advisory www.silverstripe.org/download/security-releases
- Security advisory www.silverstripe.org/download/security-releases/cve-2020-9280