Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-exposed Dolibarr instance
-
DeliverySend GET request with hashp=shared to document.php
-
ExploitAuthorization check bypassed by reserved parameter value
-
ExecutionRead arbitrary files from data directory
-
PersistExtract database backup with password hashes
-
ImpactCrack hashes offline for credential reuse
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 | The target Dolibarr instance must be running version 23.0.4 through 24.0.0 and must be network-accessible to the attacker - no authentication, no special privileges, and no non-default configuration required. The document.php and htdocs/viewimage.php endpoints must be reachable (they are enabled by default in all standard Dolibarr installations). The exact bypass requires sending hashp=shared as a URL query parameter; the bypass is unconditional against the vulnerable code path and works against any default Dolibarr deployment. Exploitation is limited by: (1) the attacker needing to know or guess file paths within the Dolibarr data directory, though these follow predictable conventions; (2) cross-tenant file access additionally requires knowledge of other tenant directory names, which may be guessable from usernames or email domains. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N) scores 8.7 and accurately reflects the severity: network-reachable, zero prerequisites, no user interaction, and high confidentiality impact. The impact is particularly serious because readable data includes database backups with password hashes - enabling offline credential cracking and lateral movement - and cross-tenant file access in multicompany deployments breaches organizational data boundaries. No KEV listing or confirmed active exploitation is recorded at time of analysis, and EPSS data was not provided. However, the bypass mechanism (hashp=shared) is trivially simple and fully disclosed by VulnCheck, meaning any attacker reading the advisory can immediately exploit it without additional tooling. The availability of a vendor-released patch (24.0.1) with a clear commit fix reduces the remediation window but organizations slow to patch face real risk. Real-world priority should be treated as HIGH given the zero-complexity exploit and the sensitivity of ERP data typically stored in Dolibarr. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a GET request to https://target-dolibarr/document.php?hashp=shared&file=../../data/dolibarr/documents/dolibarr.log (or any target path) against an internet-exposed Dolibarr instance. The GETPOST() function returns 'shared', which satisfies the authorization condition, and the endpoint serves the requested file contents directly in the response. With knowledge of Dolibarr's default directory structure, the attacker iterates through predictable paths to retrieve database backups, password hashes, and documents belonging to all tenants in a multicompany deployment. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 11, 2026
Unauthenticated arbitrary file read in Dolibarr 23.0.4 through 24.0.0 allows remote attackers to exfiltrate sensitive data by exploiting a hardcoded bypass value in the document access endpoints. Supplying hashp=shared in requests to htdocs/document.php and htdocs/viewimage.php satisfies the authorization condition without a valid token, granting read access to application logs, uploaded business documents, database backups containing password hashes, and files across multicompany tenant boundaries. No public exploit has been identified at time of analysis, but the VulnCheck advisory fully discloses the bypass mechanism and exact parameter value.
RemediationAI
Upgrade to Dolibarr 24.0.1 or later, which contains the fix at commit cd05688dbed8a4af6eef32faf4fc1e823a37bce9 (https://github.com/Dolibarr/dolibarr/releases/tag/24.0.1). The patch adds a guard in GETPOST() that coerces any hashp=shared value to an empty string before it reaches authorization logic. If immediate upgrade is not possible, a compensating control is to add a WAF or reverse-proxy rule that blocks requests to /document.php and /viewimage.php containing the query parameter hashp=shared (exact string match, case-sensitive). Trade-off: this WAF rule blocks the specific known bypass but does not address potential future bypass values; it should be treated as a temporary measure only. Additionally, restrict public-facing access to Dolibarr document endpoints at the network perimeter and rotate any credentials stored in database backups that may have been exposed if the instance was internet-accessible prior to patching.
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 an open-source PHP-based ERP/CRM platform widely used by SMBs, particularly in Europe. The vulnerability resides in the document serving endpoints (document.php, viewimage.php) which use a hashp URL parameter as a token-based authorization gate for shared file access. The GETPOST() helper function in htdocs/core/lib/functions.lib.php fetches and sanitizes user-supplied parameters, but prior to 24.0.1 it did not reject the reserved value 'shared'. Downstream authorization logic treated hashp=shared as satisfying the condition intended for legitimately shared documents, bypassing token validation entirely. CWE-863 (Incorrect Authorization) is the root cause: the authorization predicate could be trivially satisfied by a semantically reserved but unauthenticated input value. The commit fix adds an explicit guard in GETPOST() to coerce hashp=shared to an empty string, and a secondary fix in wrapper.php adds a redundant !hashp != 'shared' check.
Know when PHP 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:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network vector, no complexity or privileges needed; confidentiality impact is high due to file exfiltration including credential hashes; no integrity or availability impact.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.org
Dolibarr 23.0.4 before 24.0.1 ontains an authorization bypass vulnerability that allows unauthenticated attackers to read arbitrary files through the document storage endpoints by supplying a crafted hashp parameter value. Attackers can send a request with hashp=shared to skip token validation while satisfying the authorization condition in htdocs/document.php and htdocs/viewimage.php, gaining access to application logs, uploaded business documents, database backups containing password hashes, and files belonging to other multicompany entities.
Technical POC Analysis
CWE-863 (Incorrect Authorization).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 public PoC link from nuclei
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
Dolibarr ERP versions 23.0.4 through 24.0.0 contain an unauthenticated file read vulnerability allowing attackers to bypass authorization and exfiltrate sensitive business data including financial documents, database backups containing password hashes, and confidential records across tenant boundaries. Organizations running these versions face immediate risk of credential compromise and data breach with no patch currently available from the vendor.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict network access to vulnerable endpoints via WAF rules blocking hashp parameter values, disable document sharing features if not operationally required, enforce strict file system permissions on document directories, isolate Dolibarr instances from sensitive network segments, implement detailed access logging and alerting on file read operations, and conduct regular backup integrity audits to detect unauthorized access.
Threat Model
5 threats: Information Disclosure, Elevation of Privilege, Spoofing and 1 more
6-step attack chain with trust boundaries and controls
Full threat model - attack chain, trust boundaries, controls per stage and evidence - is part of the Pro and Business plans.
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
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-76144
GHSA-fm6p-42mr-x6jm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB