CVE-2022-43138: Dolibarr vulnerable to privilege escalation
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.29623%
CWE
Published
11/17/2022
Updated
2/1/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/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 | < 14.0.1 | 14.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing authorization checks in multiple API user management methods. The GitHub patch adds critical permission validations (lire/creer rights checks) and field restrictions in:
- put() - Added admin status/entity validation and permission checks
- getInfo() - Added lire permission requirement
- post() - Enforced creer permission These functions previously had commented-out or missing checks, allowing attackers to manipulate user accounts through the API without proper authorization. The exploit demonstrates how modifying admin email via put() could lead to account takeover.