CVE-2026-144944 — Dolibarr (24.0.4) — CWE-639
Dolibarr ERP CRM versions 22.0.0 through 24.0.3 contain a broken object-level authorization vulnerability in the EventAttendees REST API that allows authenticated users with generic project permissions, but without access to all projects, to bypass project-level access checks. The create, update, and delete methods call the access check with a project ID of 0, which the check treats as authorized, instead of validating the attendee's actual project. Attackers with a valid low-privilege API token can create, modify, and delete event attendees in private projects they cannot read, and can move attendees into a project they can access to expose private notes, resulting in unauthorized data disclosure, persistent unauthorized modification, and deletion of other users' project data.
Dolibarr ERP CRM versions 22.0.0 through 24.0.3 contain a broken object-level authorization vulnerability in the EventAttendees REST API that allows authenticated users with generic project permissions, but without access to all projects, to bypass project-level access checks. The create, update, and delete methods call the access check with a project ID of 0, which the check treats as authorized, instead of validating the attendee's actual project. Attackers with a valid low-privilege API token can create, modify, and delete event attendees in private projects they cannot read, and can move attendees into a project they can access to expose private notes, resulting in unauthorized data disclosure, persistent unauthorized modification, and deletion of other users' project data.
🎯 What is this vulnerability?
This vulnerability is a Broken Object Level Authorization (BOLA) flaw, classified under CWE-639. It resides within the EventAttendees REST API of Dolibarr ERP/CRM.
The core technical failure is a logic error in the authorization check mechanism for the create, update, and delete HTTP methods. When an authenticated user attempts to modify an event attendee, the application is supposed to verify if the user has access to the specific project associated with that attendee. However, the code passes a hardcoded or default project ID of 0 to the access control function instead of the actual project ID of the target attendee.
In Dolibarr's permission model, a project ID of 0 typically signifies a "global" or "no specific project" context, which the authorization check erroneously interprets as "authorized" for any authenticated user with generic project permissions. This bypasses the granular project-level access controls. Consequently, a low-privilege user who does not have read/write access to a specific private project can still manipulate the attendees of events within that project.
⚡ Attack Chain
1. Discovery & Reconnaissance
- Fingerprinting: The attacker identifies the target as running Dolibarr. This can be done by checking the
X-Powered-Byheader, analyzing the login page structure, or looking for specific Dolibarr assets (e.g.,/dolibarr/). - Version Enumeration: The attacker determines the version is between 22.0.0 and 24.0.3. This can be achieved by checking the footer of the login page, the
versionparameter in API responses, or simply assuming the latest version if the system is not patched. - Credential Acquisition: The attacker requires a valid, low-privilege API token. This could be obtained via: * Credential stuffing/brute force against the login endpoint. * Compromised credentials of a junior employee or external partner with "generic project permissions." * API token leakage from client-side code or logs.
2. Exploitation
The attacker uses the valid API token to interact with the EventAttendees REST API. The exact endpoint URI is not explicitly stated in the CVE description, but based on Dolibarr's REST API structure, it is likely located under/api/index.php/attendees or a similar path. The following is an illustrative example of the exploitation mechanics:Step A: Identify Target Attendee ID
The attacker first needs to identify an attendee ID belonging to a private project they do not have access to. This might be done by enumerating attendee IDs if the API allows listing, or by guessing if the IDs are sequential.
Step B: Bypass Authorization via Project ID 0
The attacker sends a PUT (update) or DELETE request to the attendee endpoint. The critical flaw is that the server-side code uses project_id=0 for the access check.
Illustrative PoC (curl):
# Assume the attacker has a valid low-privilege API token: "ATTACKER_TOKEN"
# Assume the target attendee ID is 12345, which belongs to a private project (Project ID 999)
# The attacker does NOT have access to Project 999.
# 1. Attempt to delete the attendee (Illustrative Endpoint)
curl -X DELETE \
"https://target-dolibarr-instance/api/index.php/attendees/12345" \
-H "Authorization: Bearer ATTACKER_TOKEN" \
-H "Content-Type: application/json"
# 2. Attempt to update the attendee, moving them to a project the attacker CAN access (e.g., Project ID 1)
# This exposes private notes associated with the attendee to the attacker's project context.
curl -X PUT \
"https://target-dolibarr-instance/api/index.php/attendees/12345" \
-H "Authorization: Bearer ATTACKER_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"project_id": 1
}'Technical Note: The success of this attack relies on the server-side code executing a check like if (user_has_access_to_project(0)) instead of if (user_has_access_to_project($attendee->project_id)). Since user_has_access_to_project(0) returns true for users with generic project permissions, the operation proceeds.
3. Post-Exploitation
🌍 Real World Impact
Based on the CVSS:4.0 vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N:
Practical Consequences:
🛡️ Remediation & Mitigation
Exact Affected Versions and Upgrade Recommendation
0.Actionable Workarounds
If immediate patching is not possible, the following mitigations can reduce risk:1. Disable the EventAttendees REST API: If the API is not required, disable it entirely. This can be done by:
* Removing the API module from the Dolibarr configuration.
* Using a reverse proxy (e.g., Nginx, Apache) to block requests to the API endpoint.
# Nginx configuration to block the API endpoint
location /api/ {
deny all;
return 403;
}2. Restrict API Access: If the API must remain enabled, restrict access to specific IP addresses or use a WAF to block suspicious requests.
# Nginx configuration to allow only specific IPs
location /api/ {
allow 192.168.1.0/24;
deny all;
}3. ModSecurity Rule: Implement a WAF rule to detect and block requests that attempt to manipulate attendee records with a project ID of 0 in the context of an update or delete operation.
# ModSecurity rule to block potential BOLA attempts
SecRule REQUEST_URI "@rx /api/index.php/attendees/\d+" \
"id:100001,phase:1,deny,status:403,msg:'Potential BOLA attempt on EventAttendees API',log"Detection: Realistic Web Server Log Patterns and IoCs
PUT or DELETE requests to the EventAttendees API endpoint where the user does not have access to the target project.192.168.1.100 - - [04/Dec/2026:10:00:00 +0000] "PUT /api/index.php/attendees/12345 HTTP/1.1" 200 123 "-" "curl/7.68.0"PUT or DELETE requests to the EventAttendees API from a single IP address.
* Requests to the EventAttendees API with a project ID of 0 in the request body or URL parameters.
* Unusual changes to attendee records, such as moving attendees between projects.
* API tokens being used from unexpected IP addresses or user agents.⚠️ Urgency
[🤖 CVE Professor AI Security Engine]
FOFA Query