🛡️ CVE-2020-26138 — silverstripe
Description
FormField with square brackets in field name skips validation
FileField with array notation skips validation
The FileField class is commonly used for file upload in custom code on a Silverstripe website. This field is designed to be used with a single file upload.
PHP allows for submitting multiple values by adding square brackets to the field name. When this is done to a FileField, it will be coerced into allowing multiple files by using this notation. This is not a supported feature, though nothing is done to prevent this.
In this scenario, validation such as limiting allowed extensions is not applied, and the FileField->saveInto() behaviour is not triggered. If custom controller logic is used to process the file uploads, it might implicitly rely on validation to be provided by the Form system, which is not the case.
Affected software
CVE-2020-26138 is recorded against 2 packages.
- silverstripe
- silverstripe/framework (from 3.0.0 up to 4.7.4)
Timeline and source
Published on 6 March 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
forum.silverstripe.org (Web)
www.silverstripe.org (Web)
www.silverstripe.org (Web)
www.silverstripe.org (Web)
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| silverstripe | — | — |
| silverstripe/framework | 3.0.0 | 4.7.4 |
References
Similar Threats
- Medium CVE-2020-26136
- Medium CVE-2023-49783
- Unknown GHSA-4q66-g4mm-8rg5
- Medium CVE-2023-28851
- Medium CVE-2022-37421
More CVE 2020 advisories
Browse all of CVE 2020 in the advisory index.
Vulnerability Monitoring
Track new vulnerabilities in silverstripe
CVE-2020-26138 is rated CVSS 5.0 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.