CVE-2018-13449 Dolibarr SQL injection vulnerability in product/card.php
Remote attackers can execute arbitrary SQL commands via the statut_buy parameter in Dolibarr ERP/CRM, potentially compromising database integrity and confidentiality.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-13449?
CVE-2018-13449 is a critical SQL injection vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 8 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SQL injection vulnerability in product/card.php in Dolibarr ERP/CRM version 7.0.3 allows remote attackers to execute arbitrary SQL commands via the statut_buy parameter.
Weakness: CWE-89
Which versions are affected by CVE-2018-13449?
2 open source packages ship an affected version, including dolibarr/dolibarr. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dolibarr/dolibarr Packagist | From 7.0.3 | 7.0.4 |
dolibarr/dolibarr Packagist | From 7.0.3 | 7.0.4 |
Products include Dolibarr Dolibarr Erp\/Crm.
How do I fix CVE-2018-13449?
Upgrade dolibarr/dolibarr to 7.0.4 or later.
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-2018-13449 being exploited?
There is no known exploitation of CVE-2018-13449 in the wild and no public exploit code.
Other vulnerabilities in Dolibarr Dolibarr Erp\/Crm
Sources
Also known as GHSA-g5mq-v9hf-958h, UBUNTU-CVE-2018-13449.