CVE-2018-10094: Dolibarr SQL injection vulnerability
9.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.98772%
CWE
Published
5/14/2022
Updated
4/24/2024
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 | < 7.0.2 | 7.0.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper input validation in the 'statut' parameter handling. The commit diff shows a critical change from using GETPOST
with 'alpha' filter to 'intcomma' filter for this parameter. The 'alpha' filter allows alphabetical characters but doesn't properly sanitize integer inputs, leaving SQL queries vulnerable to injection when parameters aren't quoted. Advisory details confirm the attack vector involves integer parameters without quotes, and the patch specifically addresses this by using a numeric filter type ('intcomma'), which validates comma-separated integers. This directly points to the GETPOST
function with improper filtering as the vulnerable component.