CVE-2022-0224 SQL Injection in dolibarr/dolibarr

High 8.3 Published Updated

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.

PackageAffectedFixed in
dolibarr/dolibarr PackagistAll versions to 14.0.5None
dolibarr/dolibarr PackagistAll versions to 14.0.5None
dolibarr BitnamiAll versions15.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.

All Dolibarr Dolibarr Erp\/Crm vulnerabilities

Sources

Also known as BIT-dolibarr-2022-0224, GHSA-j545-frh3-r9gq, UBUNTU-CVE-2022-0224.

Is CVE-2022-0224 in your software?

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

Check your SBOMs for free