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
Moodle Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2012-1155)
WordPress Plugin Church Admin Arbitrary File Upload (4.4.6)
WordPress Plugin Social Sharing Toolkit Cross-Site Scripting (2.6)
WordPress Plugin Two Factor Authentication Cross-Site Scripting (1.0.7)
WordPress Plugin Article Directory Cross-Site Scripting (1.3)