CVE-2012-10059 Details
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.
A post-authentication operating system command injection vulnerability has been identified in the database backup feature of Dolibarr ERP/CRM versions through 3.1.1 and 3.2.0. The vulnerability arises because the export.php script does not properly sanitize the sql_compat parameter. This oversight enables authenticated users to inject arbitrary system commands, leading to remote code execution on the server.
Users are advised to upgrade to Dolibarr versions 3.2.1 or later. For version 3.1.x, the vendor has announced a fix will be available by June 2012.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 13, 2025CISA-ADP
Assessed Aug 14, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb | CISA-ADP | ExploitSource Code |
| https://seclists.org/fulldisclosure/2012/Apr/78 | CISA-ADP | AdvisoryExploitMailing List |
| https://www.exploit-db.com/exploits/18724 | CISA-ADP | Exploit |
| https://www.exploit-db.com/exploits/18725 | CISA-ADP | Exploit |
| https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb | [email protected] | ExploitSource Code |
| https://seclists.org/fulldisclosure/2012/Apr/78 | [email protected] | AdvisoryExploitMailing List |
| https://www.dolibarr.org/ | [email protected] | Vendor |
| https://www.exploit-db.com/exploits/18724 | [email protected] | Exploit |
| https://www.exploit-db.com/exploits/18725 | [email protected] | Exploit |
| https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injection | [email protected] | AdvisoryBundleExploit |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Dolibarr ERP/CRM | <= 3.1.1 (semver) <= 3.2.0 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 16, 2026 | CVE Modified | [email protected] |
| Jun 16, 2026 | CVE Modified | CISA-ADP |
| Aug 14, 2025 | CVE Modified | CISA-ADP |
| Aug 13, 2025 | New CVE Received | [email protected] |
Volerion