CVE-2018-13448: Dolibarr SQL injection vulnerability in product/card.php
9.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.53496%
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.3 | 7.0.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The SQL injection occurred through the country_id parameter in product/card.php. The commit diff shows the parameter was originally retrieved with GETPOST('country_id') without type validation, making it vulnerable to raw SQL injection. The patch added 'int' type enforcement (GETPOST('country_id','int')) to sanitize input. This matches the CVE description of SQL injection via country_id and the pattern of unsafe GETPOST usage fixed in the patch.