CVE-2022-0224 SQL Injection in dolibarr/dolibarr
Attackers can execute arbitrary SQL commands in Dolibarr, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-0224?
CVE-2022-0224 is a high-severity SQL injection vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 14 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
dolibarr is vulnerable to Improper Neutralization of Special Elements used in an SQL Command
Weakness: CWE-89
Which versions are affected by CVE-2022-0224?
3 open source packages ship an affected version, including dolibarr/dolibarr and dolibarr. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dolibarr/dolibarr Packagist | All versions to 14.0.5 | None |
dolibarr/dolibarr Packagist | All versions to 14.0.5 | None |
dolibarr Bitnami | All versions | 15.0.0 |
Products include Dolibarr Dolibarr Erp\/Crm.
How do I fix CVE-2022-0224?
Upgrade to a fixed version.
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-2022-0224 being exploited?
There is no known exploitation of CVE-2022-0224 in the wild and no public exploit code.
Other vulnerabilities in Dolibarr Dolibarr Erp\/Crm
Sources
Also known as BIT-dolibarr-2022-0224, GHSA-j545-frh3-r9gq, UBUNTU-CVE-2022-0224.