CVE-2017-9435:
Dolibarr ERP and CRM SQLi
9.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.55449%
CWE
Published
5/17/2022
Updated
7/27/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
dolibarr/dolibarr | composer | < 5.0.3 | 5.0.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper input sanitization of search_statut and search_supervisor parameters in user/index.php. The commit diff shows:
- Parameters were originally retrieved with GETPOST using 'alpha' filter which allows special characters
- SQL queries directly embedded these parameters without proper escaping
- The patch changes the filter to 'intcomma' and adds $db->escape() calls
- CWE-89 confirmation and NVD description both indicate SQL injection via these parameters
- The vulnerable pattern matches classic SQL injection through unsanitized user input in SQL WHERE clauses