CVE-2012-10059 json
Dolibarr ERP/CRM Post-Auth OS Command Injection
published 2025-08-13 14 mo ago modified 2026-06-16 4 mo ago also EUVD-2012-6605
- cvss
- 9.4
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.5%
- EPSS 4.5% chance of exploitation in 30 days, percentile 91%
- public exploits
- 1
- Metasploit
Summary
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.
Timeline
- First public exploit (Metasploit exploit/linux/http/dolibarr_cmd_exec)
- Published
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 14 mo ago
Exploit prediction
4.45% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/linux/http/dolibarr_cmd_exec Dolibarr ERP/CRM Post-Auth OS Command Injection metasploit exploit, excellent rank, 2012-04-06
- raw.githubusercontent.com https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb referenced PoC, tagged "exploit" by a source, unverified
- exploit-db.com https://www.exploit-db.com/exploits/18725 referenced PoC, tagged "exploit" by a source, unverified
- exploit-db.com https://www.exploit-db.com/exploits/18724 referenced PoC, tagged "exploit" by a source, unverified
- seclists.org https://seclists.org/fulldisclosure/2012/Apr/78 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.4 | 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 |
| CNA | 4.0 | 9.4 | 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 |
Affected products
- Dolibarr Project ERP/CRM
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
raw.githubusercontent.com
/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb
exploit
-
exploit-db.com
/exploits/18725
exploit
-
exploit-db.com
/exploits/18724
exploit
-
seclists.org
/fulldisclosure/2012/Apr/78
technical-description, exploit
-
dolibarr.org
/
product
-
vulncheck.com
/advisories/dolibarr-erp-crm-post-auth-os-command-injection
third-party-advisory
Sources
- CVE List CVE-2012-10059
- NVD CVE-2012-10059
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.