What’s Vulnerable › Vulnerabilities
CVE-2012-10059: Dolibarr ERP/CRM Post-Auth OS Command Injection
- Severity: critical (CVSS 9.4 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-13 · updated 2026-06-16
- Weakness: CWE-78
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
- Dolibarr Project ERP/CRM: through 3.2.0
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb
- https://seclists.org/fulldisclosure/2012/Apr/78
- https://www.dolibarr.org/
- https://www.exploit-db.com/exploits/18724
- https://www.exploit-db.com/exploits/18725
- https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injection
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb
- https://seclists.org/fulldisclosure/2012/Apr/78
- https://www.exploit-db.com/exploits/18724
- https://www.exploit-db.com/exploits/18725
Get alerted when CVE-2012-10059 or the next vulnerability affects your stack