CVE-2018-19998 Dolibarr SQL injection vulnerability in user/card.php

High 8.8 Published Updated

Authenticated attackers can execute arbitrary SQL commands via the employee parameter in Dolibarr, potentially compromising database integrity and confidentiality.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-19998?

CVE-2018-19998 is a high-severity SQL injection vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 3 Jan 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SQL injection vulnerability in user/card.php in Dolibarr version 8.0.2 allows remote authenticated users to execute arbitrary SQL commands via the employee parameter.

Weakness: CWE-89

Which versions are affected by CVE-2018-19998?

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

PackageAffectedFixed in
dolibarr/dolibarr PackagistAll versions8.0.4
dolibarr/dolibarr PackagistAll versions8.0.4

Products include Dolibarr Dolibarr Erp\/Crm.

How do I fix CVE-2018-19998?

Upgrade dolibarr/dolibarr to 8.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-19998 being exploited?

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

All Dolibarr Dolibarr Erp\/Crm vulnerabilities

Sources

Also known as GHSA-97jv-2hp6-3frj, UBUNTU-CVE-2018-19998.

Is CVE-2018-19998 in your software?

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

Check your SBOMs for free