CVE-2012-10059: Vulnerability in Dolibarr ERP/CRM
Critical. 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.
CWE-78
- Exploitation
- None confirmed
- Severity
- 9.4 of 10
- Attack likelihood
- 18.1 % in 30 days
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- EU ID
- EUVD-2012-6605
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Weakness
- CWE-78
- Published
- 13 Aug 2025
- Last change
- 16 Jun 2026
- Likelihood rank
- Higher than 98 % of all rated vulnerabilities
- Analysis status
- Deferred
Affected products
Affected versions and the first fixed release
- Dolibarr ERP/CRM Through 3.1.1. No fixed version recorded
- And Through 3.2.0. No fixed version recorded
Advisories
Vendor and security advisories
- seclists.org/fulldisclosure/2012/Apr/78
- dolibarr.org
- vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injection
Exploit code
Public exploits and proofs of concept, handle with care
- raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/htt...
- exploit-db.com/exploits/18724
- exploit-db.com/exploits/18725
Related
- Dolibarr ERP/CRM vulnerabilities Recent advisories, watch this product
- And vulnerabilities Recent advisories, watch this product