CVE-2024-5314 Multiple vulnerabilities in DOLIBARR's ERP CMS

Critical 9.1 Published Updated

Remote attackers can exploit SQL injection in Dolibarr ERP to retrieve all database information via crafted queries in the admin dictionary module.

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

What is CVE-2024-5314?

CVE-2024-5314 is a critical SQL injection vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 24 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Vulnerabilities in Dolibarr ERP - CRM that affect version 9.0.1 and allow SQL injection. These vulnerabilities could allow a remote attacker to send a specially crafted SQL query to the system and retrieve all the information stored in the database through the parameters sortorder y sortfield in /dolibarr/admin/dict.php.

Weakness: CWE-89

Which versions are affected by CVE-2024-5314?

3 open source packages ship an affected version, including dolibarr/dolibarr and dolibarr. It affects 1 product.

PackageAffectedFixed in
dolibarr/dolibarr PackagistAll versions to 9.0.1None
dolibarr/dolibarr PackagistAll versions to 9.0.1None
dolibarr BitnamiFrom 9.0.118.0.5

Products include Dolibarr Dolibarr Erp\/Crm.

How do I fix CVE-2024-5314?

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-2024-5314 being exploited?

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

All Dolibarr Dolibarr Erp\/Crm vulnerabilities

Sources

Also known as BIT-dolibarr-2024-5314, GHSA-c3h9-q3jx-w7fc, UBUNTU-CVE-2024-5314.

Is CVE-2024-5314 in your software?

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

Check your SBOMs for free