Description
Dolibarr ERP/CRM versions <= 3.1.1 and <= 3.2.0 contain a post-authenticated OS command injection vulnerability in its database backup feature. The export.php script fails to sanitize the sql_compat parameter, allowing authenticated users to inject arbitrary system commands, resulting in remote code execution on the server.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Dolibarr Project ERP/CRM
Default version status: unaffected
0 to ≤ 3.2.0affected
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb ↗
- https://www.exploit-db.com/exploits/18725 ↗
- https://www.exploit-db.com/exploits/18724 ↗
- https://seclists.org/fulldisclosure/2012/Apr/78 ↗
- https://www.dolibarr.org/ ↗
- https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injection ↗