In Dolibarr before 24.0.3, dolForgeSQLCriteriaCallback() in htdocs/core/lib/functions.lib.php allows account takeover because it strips only a single…
In Dolibarr before 24.0.3, dolForgeSQLCriteriaCallback() in htdocs/core/lib/functions.lib.php allows account takeover because it strips only a single table-name prefix from a Universal Search Filter (sqlfilters) operand before checking it against the forbidden-field denylist (pass, pass_crypted, api_key). MariaDB and MySQL accept a two-level qualification such as schema.alias.column, so an operand of the form dolibarr.u.pass_crypted survives the check and is emitted into the WHERE clause. A remote authenticated user holding only the holiday read and readall permissions, which confer no user-management or administrative access, can use the resulting boolean oracle at GET /api/index.php/holida
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Dolibarr
- Product
- Dolibarr ERP/CRM
- CVSS v3.1
- 8.8 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-424
- Exposure class
- Database
- NVD status
- Received
Why it ranks 36 (Notable)
- CVSS v3.1 8.8 high
- Product class: database
- Widely deployed vendor product (Dolibarr)
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.