8.8high
Dolibarr Unrestricted Upload of File with Dangerous Type
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 27.5% (higher than 98% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-2gcp-xwxg-hqg3
Description
Dolibarr before 11.0.5 allows low-privilege users to upload files of dangerous types, leading to arbitrary code execution. This occurs because .pht and .phar files can be uploaded. Also, a .htaccess file can be uploaded to reconfigure access control (e.g., to let .noexe files be executed as PHP code to defeat the .noexe protection mechanism).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| dolibarr/dolibarr (Packagist) | before 11.0.5 | GitHub Advisory Database |
| dolibarr dolibarr | before 11.0.5 | NVD |
All scores
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
Dolibarr before 11.0.5 allows low-privilege users to upload files of dangerous types, leading to arbitrary code execution. This occurs because .pht and .phar files can be uploaded. Also, a .htaccess file can be uploaded to reconfigure access control (e.g., to let .noexe files be executed as PHP code to defeat the .noexe protection mechanism).
NVD (es)
Dolibarr versiones anteriores a 11.0.5, permite a usuarios pocos privilegiados cargar archivos de tipos peligrosos, conllevando a una ejecución de código arbitraria. Esto ocurre porque archivos .pht y .phar pueden ser cargados. Además, puede ser cargado un archivo .htaccess para reconfigurar el control de acceso (por ejemplo, para permitir a los archivos .noexe ser ejecutados como código PHP para anular el mecanismo de protección .noexe)
References
| https://www.wizlynxgroup.com/security-research-advisories/vuln/WLX-2020-012 | third-party-advisory, web | |
| https://github.com/Dolibarr/dolibarr/releases/tag/11.0.5 | release-notes, third-party-advisory, web | |
| http://packetstormsecurity.com/files/161955/Dolibarr-ERP-CRM-11.0.4-Bypass-Code-Execution.html | exploit, third-party-advisory, vdb-entry, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-14209 | advisory | |
| https://github.com/Dolibarr/dolibarr | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-14209 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2gcp-xwxg-hqg3 changed 2024-04-24 | CC-BY-4.0 |
| NVD | CVE-2020-14209 changed 2026-06-17 | Public domain |