CVE-2020-14209
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
dolibarr/dolibarr (Packagist)before 11.0.5GitHub Advisory Database
dolibarr dolibarrbefore 11.0.5NVD

All scores

GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD6.5medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2020-14209 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-2gcp-xwxg-hqg3 changed 2024-04-24CC-BY-4.0
NVDCVE-2020-14209 changed 2026-06-17Public domain