ADVISORIES

GitHub Advisory Database

GHSA-2gcp-xwxg-hqg3

Dolibarr Unrestricted Upload of File with Dangerous Type

Details

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 packages

EcosystemPackageAffected versions
Packagistdolibarr/dolibarr
All versions before 11.0.5 (fixed in 11.0.5)

References