CVE-2026-133476
Dolibarr ERP/CRM account takeover via SQL injection in criteria callback
Any logged-in user with holiday read rights can steal admin password hashes and API keys, then take over the app.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-133476 divulgada · CVSS 8.8 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Dolibarr ERP/CRM has a flaw that lets a remote attacker who is logged in with only holiday read permissions extract other users' password hashes and API keys one character at a time, including an administrator's. Because the stolen API keys work as bearer credentials for the REST API, the attacker can gain full administrative control of the application.
Only affects Dolibarr 24.0.1 and 24.0.2 on MariaDB or MySQL. Fixed in 24.0.3.
Descripción original del registro (mitre)
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/holidays to recover any user's bcrypt password hash and api_key one character at a time, including an administrator's. Because api_key is accepted directly by the REST API as a bearer credential, this yields full administrative control of the application. This bypasses the fix for CVE-2026-89012, which added only a strtolower() call and did not address prefix depth. The same denylist also omits pass_temp, which stores a password in cleartext, as well as national_registration_number, salary, birth, address, personal_mobile and note_private.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Dolibarr ERP/CRM |
Corregida | 24.0.3 | — | — |
24.0.3Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/Dolibarr/dolibarr/commit/725d20884d93b46f07b66a93071d3229b870865fhttps://github.com/Dolibarr/dolibarr/commit/7a04d9c970e45e15d29c91e6f5a34a262c6c51c8https://github.com/Dolibarr/dolibarr/releases/tag/24.0.3https://tajapps.com/advisories/TAJ-2026-002/https://github.com/Dolibarr/dolibarr/blob/24.0.3/ChangeLogLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
