Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as read-only Dolibarr user
-
DeliveryPOST objectType/objectId/field/value to updateextrafield.php
-
ExploitRead-only check passes, write executes
-
ExecutionPersistently overwrite extrafield on viewable object
-
ImpactTamper with ERP/CRM data integrity
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated Dolibarr session with at least read-only access to the target object. Exploitation specifically needs the attacker to reach htdocs/core/ajax/updateextrafield.php and submit objectType, objectId, field and value POST parameters for an object (third party, product, member, project, or contact) that the account is permitted to VIEW; writes are limited to extrafields on those already-viewable records. Limiting factors: the account must be valid and authenticated (not exploitable by anonymous/unauthenticated attackers), the target object must be within the user's read scope, and affected versions are Dolibarr before 24.0.2 - deployments on 24.0.2 or later with the restrictedArea() 'write' mode fix are not vulnerable. No user interaction by a victim is required. |
| Impact | This is a moderate-risk, low-impact authorization flaw rather than a high-priority emergency. The vendor-assigned CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and score of 5.3 are internally consistent with the description: exploitation is network-reachable and low-complexity, but requires an authenticated session (PR:L), and impact is confined to integrity of a limited subset of data (VI:L, with VC:N and VA:N - no confidentiality or availability loss). The SSVC/real-world exploitation signals are weak: there is no CISA KEV listing and no public exploit identified, so there is no evidence of active exploitation or automatable mass-exploitation. No EPSS score was provided in the input, so exploitation probability cannot be quantified. The key limiting factor - and the reason this is not a critical issue despite being trivially triggerable - is that an attacker must already hold a valid low-privilege (read-only) account and can only modify extrafields on objects they can already view, so it is a privilege-boundary/data-tampering bug, not a path to code execution, data theft, or full account takeover. Treat as a routine-to-moderate patching priority, elevated only in multi-tenant or large-user Dolibarr deployments where read-only accounts are widely issued. |
| Exploit ScenarioDerived | An attacker who has been granted a read-only Dolibarr account (e.g., a limited internal user, contractor, or low-trust tenant) crafts an HTTP POST to htdocs/core/ajax/updateextrafield.php supplying objectType, objectId, field and value parameters for a third party, product, member, project, or contact they can view. Because the endpoint only checked read permission before writing, the extrafield value is persistently modified despite the user lacking write rights. No public exploit code is identified at time of analysis, but the attack is a simple authenticated HTTP request requiring no special tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Authenticated Dolibarr ERP CRM users who hold only read permission on a record can persistently modify that record's extrafield values in all versions before 24.0.2, because the AJAX endpoint htdocs/core/ajax/updateextrafield.php calls restrictedArea() without the 'write' mode flag and therefore enforces only read access. Exploitation requires a valid authenticated session plus read visibility of the target object (third party, product, member, project or contact) and a crafted POST supplying objectType, objectId, field and value; no victim interaction is needed, but the flaw is confined to integrity of extrafield data (CVSS 4.0 5.3, PR:L, I:L) with no confidentiality or availability impact. No public exploit code has been identified at time of analysis and the issue is not in CISA KEV, so this is a moderate-risk authorization weakness rather than an emergency; vendor patch data confirms a fix is available in 24.0.2.
RemediationAI
Upgrade to Dolibarr ERP CRM 24.0.2 or later; patch availability is confirmed by the vendor, and the specific fix is the upstream commit 3420d17b199059ac22fca8b59f23cb8962fc8ef8, which passes the 'write' mode argument to restrictedArea() in htdocs/core/ajax/updateextrafield.php and returns an httponly_accessforbidden() response when the write check fails, while also applying the same hardening to saveinplace.php and savekanbanfield.php so that patching only the reported file may leave analogous read/write confusion in place. If an immediate upgrade is not possible, the most direct compensating control is to block or restrict POST access to htdocs/core/ajax/updateextrafield.php at the reverse proxy or web server for accounts and roles that should be read-only - for example, deny the path to everyone except a whitelist of writer roles, or require a re-authentication/WAF rule matching the objectType/objectId/field/value parameter set; the trade-off is that legitimate inline extrafield editing in the Dolibarr UI will stop working for the restricted users, and path-based rules are brittle if the endpoint is moved or aliased. An alternative is to strip or deactivate custom extrafields on sensitive object types until the upgrade is applied, accepting the loss of that metadata functionality, or to temporarily tighten Dolibarr role definitions so that any account able to view third parties, products, members, projects or contacts also has deliberately audited permissions - noting this does not remove the flaw, only limits the population of accounts that can trigger it. Review Dolibarr audit logs for unexpected extrafield modifications, since successful exploitation leaves persistent data changes that are otherwise silent; because the issue is not in CISA KEV and no public exploit code has been identified at time of analysis, risk-ranked prioritization rather than emergency change procedures is appropriate. Advisory references: https://www.vulncheck.com/advisories/dolibarr-before-24.0.2-incorrect-authorization-via-updateextrafield-php and https://github.com/Dolibarr/dolibarr.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Dolibarr is a PHP-based ERP/CRM whose object model supports user-defined 'extrafields' attached to business entities such as third parties (societes), products, members, projects and contacts. The CWE-863 (Incorrect Authorization) root cause lies in Dolibarr's central restrictedArea() access-control helper: in htdocs/core/ajax/updateextrafield.php the helper was invoked without the trailing 'write' argument, so it performed only the read-permission check before the script wrote the supplied field/value pair to the extrafield table. The endpoint is reachable over the network (AV:N) by any authenticated principal (PR:L per CVSS 4.0 vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N, mirrored by the CVSS 3.1 assessment CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N), and the attack surface is the same generic object-identifier parameters (objectType/objectId) used by the inline-editing UI, meaning any object the account can view is a candidate write target. The exception is scoped: an object outside the user's read scope is still rejected, since the read check remains in place. The vendor commit 3420d17b199059ac22fca8b59f23cb8962fc8ef8 converts the call to restrictedArea($user, $object->module, $object, $object->table_element, $usesublevelpermission, 'fk_soc', 'rowid', 0, 1, 'write') with an httponly_accessforbidden() failure path, and applies the identical 'write' mode hardening to the sibling endpoints htdocs/core/ajax/saveinplace.php and htdocs/core/ajax/savekanbanfield.php, indicating the maintainers treated read-versus-write confusion as a class of weakness in these AJAX writers rather than an isolated bug. The CPE string cpe:2.3:a:dolibarr:dolibarr:*:*:*:*:*:*:*:* reflects that the affected range is defined by product version rather than a distinct component.
Know when Dolibarr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Network-reachable AJAX endpoint (AV:N/AC:L) but requires an authenticated low-privilege account (PR:L); only limited extrafield writes within existing read scope give I:L, with no confidentiality or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Dolibarr ERP CRM before 24.0.2 contains an incorrect authorization vulnerability in htdocs/core/ajax/updateextrafield.php that checks only read permission before writing extrafield values. Authenticated users with read-only access can POST objectType, objectId, field and value parameters to persistently modify extrafields on viewable third parties, products, members, projects or contacts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
An issue in Dolibarr ERP CRM v.17.0.1 and before allows a remote privileged attacker to execute arbitrary code via a cra
Dolibarr before 17.0.1 allows remote code execution by an authenticated user via an uppercase manipulation: <?PHP instea
Dolibarr ERP/CRM 4.0.4 has SQL Injection in doli/theme/eldy/style.css.php via the lang parameter. Rated critical severit
Cross Site Scripting vulnerability in Dolibarr ERP CRM v.17.0.1 and before allows a remote attacker to obtain sensitive
Dolibarr ERP/CRM 4.0.4 stores passwords with the MD5 algorithm, which makes brute-force attacks easier. Rated critical s
SQL injection attacks can result in unauthorized access to sensitive data, such as passwords, credit card details, or pe
Dolibarr Open Source ERP & CRM for Business before v14.0.1 allows attackers to escalate privileges via a crafted API. Ra
Dolibarr ERP & CRM <=15.0.3 is vulnerable to Eval injection. Rated critical severity (CVSS 9.8), this vulnerability is r
The website builder module in Dolibarr 13.0.2 allows remote PHP code execution because of an incomplete protection mecha
The htdocs/index.php?mainmenu=home login page in Dolibarr 10.0.6 allows an unlimited rate of failed authentication attem
SQL injection vulnerability in Dolibarr before 7.0.2 allows remote attackers to execute arbitrary SQL commands via vecto
Dolibarr ERP CRM 7.0.3 contains a remote code evaluation vulnerability that allows unauthenticated attackers to execute
EUVD-2026-95209
GHSA-wmrw-8344-fj44
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB