Horizon Alert
Summary of the vulnerability and why it matters
A security vulnerability has been identified in Dolibarr ERP CRM software that could allow unauthorized users to write files to the system. This issue arises from how the software handles file operations within its web-based interface, potentially enabling attackers to gain control of the system if a specific configuration is enabled.
- Allows attackers to write unauthorized files.
- Critical for business systems managing customer data.
- Confirm relevance and assess potential exposure.
Attack Path
How an attacker could exploit the issue
An unauthenticated attacker can gain access to the Dolibarr ERP CRM system if the DAV feature is publicly exposed. By uploading a malicious file to a public directory and then manipulating its destination using path traversal techniques, an attacker can place a PHP file on the server, leading to remote code execution.
- Publicly accessible file server required.
- Path traversal to plant malicious files.
- Remote code execution.
Live Threat
Current exploitation, exposure, and threat context
When DAV_ALLOW_PUBLIC_DIR is enabled, unauthenticated attackers could plant malicious PHP files on the server through the WebDAV interface, enabling remote code execution under specific supported conditions.
- Server file system.
- Unauthenticated file upload and move.
- Remote code execution.
Operational Fix
Recommended remediation, mitigation, and detection steps
Application owners and infrastructure teams should coordinate to address this critical vulnerability. The initial practical move is to identify all Dolibarr installations, confirm whether the `DAV_ALLOW_PUBLIC_DIR` configuration is enabled, and determine the business criticality and external reachability of each instance. Once identified and prioritized, a remediation plan should be developed, potentially involving vendor coordination for patches or temporary risk reduction measures.
- Application owners should own this issue.
- Verify `DAV_ALLOW_PUBLIC_DIR` configuration status.
- Plan remediation based on exposure and risk.