CVE-2017-17897 Dolibarr SQL injection vulnerability in comm/multiprix.php

Critical 9.8 Published Updated

Remote attackers can execute arbitrary SQL commands via the id 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-17897?

CVE-2017-17897 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 comm/multiprix.php in Dolibarr ERP/CRM version 6.0.4 allows remote attackers to execute arbitrary SQL commands via the id parameter.

Weakness: CWE-89

Which versions are affected by CVE-2017-17897?

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

PackageAffectedFixed in
dolibarr/dolibarr PackagistAll versions6.0.5
dolibarr/dolibarr PackagistAll versions6.0.5

Products include Dolibarr Dolibarr Erp\/Crm.

How do I fix CVE-2017-17897?

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-17897 being exploited?

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

All Dolibarr Dolibarr Erp\/Crm vulnerabilities

Sources

Also known as GHSA-9v7m-f3cv-68rw, UBUNTU-CVE-2017-17897.

Is CVE-2017-17897 in your software?

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

Check your SBOMs for free