CVE-2020-26138 FormField with square brackets in field name skips validation

Medium 5.3 Published Updated

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.

PackageAffectedFixed in
silverstripe/framework PackagistFrom 3.0.04.7.4
silverstripe/framework PackagistFrom 3.0.04.7.4
silverstripe BitnamiAll versions to 4.6.0-rc14.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.

All Silverstripe Silverstripe vulnerabilities

Sources

Also known as BIT-silverstripe-2020-26138, GHSA-7mv4-4xpg-xq44.

Is CVE-2020-26138 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free