CVE-2020-26138 FormField with square brackets in field name skips validation
Attackers can bypass form validation by using square brackets in field names, potentially submitting invalid or malicious data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-26138?
CVE-2020-26138 is a medium-severity missing authorization vulnerability in Silverstripe Silverstripe, published on 8 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In SilverStripe through 4.6.0-rc1, a FormField with square brackets in the field name skips validation.
Weakness: CWE-20
Which versions are affected by CVE-2020-26138?
3 open source packages ship an affected version, including silverstripe/framework and silverstripe. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/framework Packagist | From 3.0.0 | 4.7.4 |
silverstripe/framework Packagist | From 3.0.0 | 4.7.4 |
silverstripe Bitnami | All versions to 4.6.0-rc1 | 4.6.0 |
Products include Silverstripe Silverstripe.
How do I fix CVE-2020-26138?
Upgrade silverstripe/framework to 4.7.4 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2020-26138 being exploited?
There is no known exploitation of CVE-2020-26138 in the wild and no public exploit code.
Other vulnerabilities in Silverstripe Silverstripe
Sources
Also known as BIT-silverstripe-2020-26138, GHSA-7mv4-4xpg-xq44.