CVE-2020-14209: Dolibarr Unrestricted Upload of File with Dangerous Type

dolibarr/dolibarr Updated 02 Oct 2025

Summary

24/05/2022
Yes i
High
8.8

CVE-2020-14209: Dolibarr Unrestricted Upload of File with Dangerous Type. Affects dolibarr/dolibarr versions < 11.0.5. Fixed in 11.0.5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Dolibarr is an open-source ERP and CRM software package that provides various functionalities for managing business processes. It is widely used for its flexibility, ease of use, and extensive features. However, Dolibarr versions prior to 11.0.5 are vulnerable to an unrestricted file upload issue that allows low-privilege users to upload files of dangerous types, potentially leading to arbitrary code execution. This vulnerability poses a significant risk to the security and integrity of the affected systems.

Vulnerability Detail

The vulnerability in Dolibarr arises from its lack of proper file type validation during file uploads. Attackers can exploit this flaw by uploading files with dangerous extensions such as .pht and .phar. Additionally, an uploaded .htaccess file can be used to reconfigure access control, enabling the execution of files with the .noexe extension as PHP code, bypassing the protection mechanism. This can result in arbitrary code execution, allowing attackers to gain unauthorized access, manipulate data, or perform other malicious activities on the affected system.

How To Fix

Minimum fixed version

11.0.5

This is the first release that contains the fix.

composer require dolibarr/dolibarr:11.0.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can restrict file uploads to only allow specific file types that are considered safe. This can be achieved by modifying the server configuration or implementing additional validation checks in the application code. However, it is crucial to note that workarounds may not provide complete protection and should be considered temporary measures until the system can be upgraded to a secure version.

Conclusion

The Dolibarr Unrestricted Upload of File with Dangerous Type vulnerability (CVE-2020-14209) poses a significant security risk to systems running vulnerable versions of Dolibarr. Upgrading to version 11.0.5 or later is strongly advised to address this issue and ensure the security and integrity of the affected systems. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for dolibarr/dolibarr →

Share this vulnerability

FAQ

Dolibarr is an open-source ERP and CRM software package used for managing business processes.

The vulnerability allows low-privilege users to upload files of dangerous types, potentially leading to arbitrary code execution and unauthorized access to the affected system.

To fix this vulnerability, it is recommended to upgrade Dolibarr to version 11.0.5 or later, which includes the necessary security patches.

As a temporary workaround, users can restrict file uploads to safe file types or implement additional validation checks. However, upgrading to a secure version is the recommended solution.

At the time of this report, there are no known public exploits specifically targeting this vulnerability. However, it is crucial to address the issue promptly to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for dolibarr/dolibarr.

How To Fix

Minimum fixed version

11.0.5

This is the first release that contains the fix.

composer require dolibarr/dolibarr:11.0.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback