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.
Problem types
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
*
*
Credits
Nahuel Grisolia
References
raw.githubusercontent.com/...linux/http/dolibarr_cmd_exec.rb
www.exploit-db.com/exploits/18725
www.exploit-db.com/exploits/18724
seclists.org/fulldisclosure/2012/Apr/78
www.dolibarr.org/
www.vulncheck.com/...-erp-crm-post-auth-os-command-injection