CVE-2019-5715 Silverstripe Framework SQLi Vulnerability

Critical 9.8 Published Updated

Attackers can execute arbitrary SQL commands via reflected injection in SilverStripe forms and data objects, potentially accessing or modifying database content.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-5715?

CVE-2019-5715 is a critical SQL injection vulnerability in Silverstripe Silverstripe, published on 11 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All versions of SilverStripe 3 prior to 3.6.7 and 3.7.3, and all versions of SilverStripe 4 prior to 4.0.7, 4.1.5, 4.2.4, and 4.3.1 allows Reflected SQL Injection through Form and DataObject.

Weakness: CWE-89

Which versions are affected by CVE-2019-5715?

12 open source packages ship an affected version, including silverstripe/framework. It affects 1 product.

PackageAffectedFixed in
silverstripe/framework PackagistFrom 3.0.03.6.7
silverstripe/framework PackagistFrom 3.0.03.6.7
silverstripe/framework PackagistFrom 3.7.03.7.3
silverstripe/framework PackagistFrom 3.7.03.7.3
silverstripe/framework PackagistFrom 4.0.04.0.7
silverstripe/framework PackagistFrom 4.0.04.0.7
6 more packages
silverstripe/framework PackagistFrom 4.1.04.1.5
silverstripe/framework PackagistFrom 4.1.04.1.5
silverstripe/framework PackagistFrom 4.2.04.2.4
silverstripe/framework PackagistFrom 4.2.04.2.4
silverstripe/framework PackagistFrom 4.3.04.3.1
silverstripe/framework PackagistFrom 4.3.04.3.1

Products include Silverstripe Silverstripe.

How do I fix CVE-2019-5715?

Upgrade silverstripe/framework to a fixed version for your release line: 3.6.7, 3.7.3, 4.0.7 or 4.1.5.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2019-5715 being exploited?

There is no known exploitation of CVE-2019-5715 in the wild and no public exploit code.

All Silverstripe Silverstripe vulnerabilities

Sources

Also known as GHSA-wvfw-w3x6-g526.

Is CVE-2019-5715 in your software?

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

Check your SBOMs for free