CVE-2017-7886 Dolibarr SQL Injection in doli/theme/eldy/style.css.php via the lang parameter
SQL injection in Dolibarr ERP/CRM allows attackers to manipulate database queries via the lang parameter, potentially exposing or altering data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2017-7886?
CVE-2017-7886 is a critical SQL injection vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 10 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Dolibarr ERP/CRM 4.0.4 has SQL Injection in doli/theme/eldy/style.css.php via the lang parameter.
Weakness: CWE-89
Which versions are affected by CVE-2017-7886?
2 open source packages ship an affected version, including dolibarr/dolibarr. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dolibarr/dolibarr Packagist | All versions | None |
dolibarr/dolibarr Packagist | All versions | None |
Products include Dolibarr Dolibarr Erp\/Crm.
How do I fix CVE-2017-7886?
No fix has been published for CVE-2017-7886 yet. Limit exposure of the affected software until one is available.
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-7886 being exploited?
There is no known exploitation of CVE-2017-7886 in the wild and no public exploit code.
Other vulnerabilities in Dolibarr Dolibarr Erp\/Crm
Sources
Also known as GHSA-gw37-vmvw-f833, UBUNTU-CVE-2017-7886.