PT-2026-53933 · Dolibarr · Dolibarr
CVSS v3.1
7.6
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
Dolibarr versions prior to 23.0.3
Description
Authenticated API users can exfiltrate arbitrary database contents, including password hashes and API keys, via a SQL injection. The issue occurs when malicious values are supplied to the
sqlfilters query parameter in the 'setup' and 'multicurrencies' REST API endpoints. The validation process in api setup.class.php and api multicurrencies.class.php only checks for balanced parentheses and rewrites matched triplets, which allows attackers to append a UNION SELECT statement to the SQL WHERE clause unmodified.Recommendations
Update to the version containing commit 14db36e.
As a temporary mitigation, restrict access to the
sqlfilters parameter in the 'setup' and 'multicurrencies' REST API endpoints.Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Dolibarr