Dolibarr ERP/CRM Post-Auth OS Command Injection
CVE-2012-10059Published 13 Aug 2025, 20:33 UTC
Real-world risk
6.0/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.4
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Dolibarr ERP CRMNiche | <= 3.2.0 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T4: Weaponized (× 1.00)
A Metasploit module, a Nuclei template, or a verified Exploit-DB entry
- Exploit-DB entry (link)
- Exploit-DB entry (link)
- Metasploit module (link)
- Reference tagged as exploit (link)
- Reference tagged as exploit (link)
- Reference tagged as exploit (link)
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 18.1% chance of exploitation in 30 days (percentile 97), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T4: Weaponized1.000
- 10 × impact 1 × prerequisites 0.6 × threat 16.000
- Rounded to one decimal between 0.1 and 106.0
Exploitation and evidence timeline
- 13 Aug 2025 Published
- 3 Dec 2026 Exploit-DB entry first seen
- 3 Dec 2026 Exploit-DB entry first seen
- 3 Dec 2026 Metasploit module first seen
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 6.0 (cvss fallback)
Weakness
CWE-78
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rbexploit
- https://www.exploit-db.com/exploits/18725exploit
- https://www.exploit-db.com/exploits/18724exploit
- https://seclists.org/fulldisclosure/2012/Apr/78exploit, technical-description
- https://www.dolibarr.org/product
- https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injectionthird-party-advisory
- CVE-2012-10059 on CVE.org