GHSA-p2v5-xcqm-4fv6 silverstripe/taxonomy SQL Injection vulnerability

Not scored Published

SQL injection in SilverStripe taxonomy module allows attackers to read or modify database contents if the controller is enabled.

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

What is GHSA-p2v5-xcqm-4fv6?

GHSA-p2v5-xcqm-4fv6 is a SQL injection vulnerability in silverstripe/taxonomy, published on 28 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

There is a vulnerability in silverstripe/taxonomy module that allows SQL injection. This affected controller (TaxonomyDirectoryController) is disabled by default and must be enabled by a developer for the exploit to be possible.

Which versions are affected by GHSA-p2v5-xcqm-4fv6?

4 open source packages ship an affected version, including silverstripe/taxonomy.

PackageAffectedFixed in
silverstripe/taxonomy PackagistFrom 1.3.01.3.1
silverstripe/taxonomy PackagistFrom 1.3.01.3.1
silverstripe/taxonomy PackagistFrom 2.0.02.0.1
silverstripe/taxonomy PackagistFrom 2.0.02.0.1

How do I fix GHSA-p2v5-xcqm-4fv6?

Upgrade silverstripe/taxonomy to a fixed version for your release line: 1.3.1 or 2.0.1.

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 GHSA-p2v5-xcqm-4fv6 being exploited?

There is no known exploitation of GHSA-p2v5-xcqm-4fv6 in the wild and no public exploit code.

Sources

Is GHSA-p2v5-xcqm-4fv6 in your software?

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

Check your SBOMs for free