CVE-2017-17899 Dolibarr SQL injection vulnerability in adherents/subscription/info.php
Remote attackers can execute arbitrary SQL commands via the rowid 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-2017-17899?
CVE-2017-17899 is a critical SQL injection vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 24 Dec 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SQL injection vulnerability in adherents/subscription/info.php in Dolibarr ERP/CRM version 6.0.4 allows remote attackers to execute arbitrary SQL commands via the rowid parameter.
Weakness: CWE-89
Which versions are affected by CVE-2017-17899?
2 open source packages ship an affected version, including dolibarr/dolibarr. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dolibarr/dolibarr Packagist | All versions | 6.0.5 |
dolibarr/dolibarr Packagist | All versions | 6.0.5 |
Products include Dolibarr Dolibarr Erp\/Crm.
How do I fix CVE-2017-17899?
Upgrade dolibarr/dolibarr to 6.0.5 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-2017-17899 being exploited?
There is no known exploitation of CVE-2017-17899 in the wild and no public exploit code.
Other vulnerabilities in Dolibarr Dolibarr Erp\/Crm
Sources
Also known as GHSA-7789-v767-37r5, UBUNTU-CVE-2017-17899.