Dolibarr ERP/CRMに認証を回避され管理者のAPIキーを盗まれる脆弱性
Summary
Dolibarr ERP/CRMの24.0.3より前の版には、認証済みの利用者がデータベースのパスワードハッシュやAPIキーを1文字ずつ推測できる脆弱性があります。APIキーは管理者の権限でも使えるため、管理者の権限を奪われるおそれがあります。修正版の24.0.3で対処できるため、速やかに更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Dolibarr ERP/CRMの24.0.3より前の版には、認証済みの利用者がデータベースのパスワードハッシュやAPIキーを1文字ずつ推測できる脆弱性があります。APIキーは管理者の権限でも使えるため、管理者の権限を奪われるおそれがあります。修正版の24.0.3で対処できるため、速やかに更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| DolibarrDolibarr ERP/CRM |
< 24.0.3→ 24.0.3 |
24.0.3 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2026-133476 dolibarr No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory tajapps.com
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web nvd.nist.gov
- web tajapps.com
- web github.com