SQL Injection

Affecting dolibarr/dolibarr package, versions >=3.8.0, <7.0.1

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

dolibarr/dolibarr is a modern and easy to use web software to manage your business.

Affected versions of this package are vulnerable to SQL Injection via the integer parameters qty and value_unit. When editing a billing at /expensereport/card.phpid=$id_integer&action=editline&rowid=$rowid_integer, the POST parameters fail to properly sanitise the parameters due to the application using a recursive call to an eregi() or a preg_match() regex to determine the legitimacy of the query being processed. This allows the integer parameters qty, value_unit to be abused efficiently.

Remediation

Upgrade dolibarr/dolibarr to version 7.0.1 or higher.

References

CVSS Score

8.6
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    Low
  • Availability
    Low
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:H/RL:O/RC:C
Credit
Romain Koszyk, Erwan Robin, chqrly from DIGITEMIS CYBERSECURITY and PRIVACY.
CVE
CVE-2018-16809
CWE
CWE-89
Snyk ID
SNYK-PHP-DOLIBARRDOLIBARR-173766
Disclosed
07 Mar, 2019
Published
07 Mar, 2019