GHSA-p2v5-xcqm-4fv6 silverstripe/taxonomy SQL Injection vulnerability
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
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.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/taxonomy Packagist | From 1.3.0 | 1.3.1 |
silverstripe/taxonomy Packagist | From 1.3.0 | 1.3.1 |
silverstripe/taxonomy Packagist | From 2.0.0 | 2.0.1 |
silverstripe/taxonomy Packagist | From 2.0.0 | 2.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.