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).
Remediation
References
Related Vulnerabilities
Adminer 4.6.2 file disclosure vulnerability
Moodle Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2012-6104)
SharePoint Integer Overflow or Wraparound Vulnerability (CVE-2008-4019)
WordPress Plugin WPBook Cross-Site Request Forgery (2.7)
Oracle HTTP Server CVE-2007-0280 Vulnerability (CVE-2007-0280)