CVE-2018-13448 Dolibarr SQL injection vulnerability in product/card.php

Critical 9.8 Published Updated

Remote attackers can execute arbitrary SQL commands via the country_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-2018-13448?

CVE-2018-13448 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 country_id parameter.

Weakness: CWE-89

Which versions are affected by CVE-2018-13448?

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

PackageAffectedFixed in
dolibarr/dolibarr PackagistFrom 7.0.37.0.4
dolibarr/dolibarr PackagistFrom 7.0.37.0.4

Products include Dolibarr Dolibarr Erp\/Crm.

How do I fix CVE-2018-13448?

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

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

All Dolibarr Dolibarr Erp\/Crm vulnerabilities

Sources

Also known as GHSA-m5rg-g6f9-8wpw, UBUNTU-CVE-2018-13448.

Is CVE-2018-13448 in your software?

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

Check your SBOMs for free