CVEvulnerability
CVE-2012-10059
9.4 CRITICAL
Official page ↗
- Status
- Deferred
- Published
- 2025-08-13
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 9.4 CRITICAL — 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
- Weaknesses
- 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.
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb raw.githubusercontent.com
- https://seclists.org/fulldisclosure/2012/Apr/78 seclists.org
- https://www.dolibarr.org/ www.dolibarr.org
- https://www.exploit-db.com/exploits/18724 www.exploit-db.com
- https://www.exploit-db.com/exploits/18725 www.exploit-db.com
- https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injection www.vulncheck.com
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb raw.githubusercontent.com
- https://seclists.org/fulldisclosure/2012/Apr/78 seclists.org
- https://www.exploit-db.com/exploits/18724 www.exploit-db.com
- https://www.exploit-db.com/exploits/18725 www.exploit-db.com