GitHub Advisoryadvisory · Packagist

GHSA-2gcp-xwxg-hqg3 Dolibarr Unrestricted Upload of File with Dangerous Type

HIGH Published 2022-05-24 Modified 2024-04-24 Official page ↗
Aliases
CVE-2020-14209
Ecosystem
Packagist
Packages
dolibarr/dolibarr
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-434
Reviewed
2024-04-24

Affected packages

• Packagist dolibarr/dolibarr: < 11.0.5 → fixed in 11.0.5

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).

Related

Alias · CVE (1)

  • CVE-2020-14209 Dolibarr before 11.0.5 allows low-privilege users to upload files of dangerous types, leading to arbitrary code execution. vulnerability

Weakness · CWE (1)

  • CWE-434 Unrestricted Upload of File with Dangerous Type weakness

References