high8.8Public exploit code
CVE-2020-14209
Dolibarr Unrestricted Upload of File with Dangerous Type
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Dolibarr ERP 11.0.4 - File Upload Restrictions Bypass (Authenticated RCE)2021-03-25 · webapps · php
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | dolibarr/dolibarr | < 11.0.5 | 11.0.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Dolibarr | Dolibarr | before 11.0.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://packetstormsecurity.com/files/161955/Dolibarr-ERP-CRM-11.0.4-Bypass-Code-Execution.html
- https://github.com/Dolibarr/dolibarr/releases/tag/11.0.5
- https://www.wizlynxgroup.com/security-research-advisories/vuln/WLX-2020-012
- https://github.com/advisories/GHSA-2gcp-xwxg-hqg3
- https://nvd.nist.gov/vuln/detail/CVE-2020-14209