CVE-2024-5315 Multiple vulnerabilities in DOLIBARR's ERP CMS
Remote attackers can exploit SQL injection in Dolibarr ERP to retrieve all database information via crafted queries.
- 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-5315?
CVE-2024-5315 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
viewstatut in /dolibarr/commande/list.php.
Weakness: CWE-89
Which versions are affected by CVE-2024-5315?
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 9.0.1 | None |
dolibarr/dolibarr Packagist | All versions to 9.0.1 | None |
dolibarr Bitnami | From 9.0.1 | 18.0.5 |
Products include Dolibarr Dolibarr Erp\/Crm.
How do I fix CVE-2024-5315?
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-5315 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5315 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Dolibarr Dolibarr Erp\/Crm
Sources
Also known as BIT-dolibarr-2024-5315, GHSA-q8x7-jc3h-p8xc, UBUNTU-CVE-2024-5315.