CVE-2012-10059
Dolibarr ERP/CRM versions <= 3.1.1 and <= 3.2.0 contain a post-authenticated OS command injection vulnerability in its database backup feature.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 18.1%, higher than 97% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 4.0
- 9.4 CRITICALCVSS: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/M
- EPSS
- 18.10% probability · 97th percentile
- Public exploits
- 2 in Exploit-DB · verified · first 9 April 2012
- CISA KEV
- Not listed
- Weakness
- CWE-78: OS command injection
- Source
- disclosure@vulncheck.com
In plain terms
It can be reached over a network, but only by someone who already has an account, so stolen or shared credentials are the usual way in.
- Reached from
- Over a network. If the affected system can be reached from the internet, so can the flaw.
- Effort
- Nothing special has to be got round first.
- Login needed
- An ordinary user account.
- Someone else involved
- No. Nobody has to click, open or approve anything.
- At risk on the affected system
- Reading data: serious. Changing data: serious. Stopping the service: serious.
- At risk beyond it
- Reading data: serious. Changing data: serious. Stopping the service: serious.
Read from the CVSS 4.0 vector above. It describes the flaw itself, not how your own systems are set up.
The first public exploit in Exploit-DB is dated 9 April 2012, about 13 years before the record was published.
EPSS moved from 4.4% on 3 October 2026 to 18.1% on 4 December 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.
Public exploits (2)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
Where to go from here
One vulnerability is rarely the whole question. These are free, and none of them asks for an account.
By email
Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb
- https://seclists.org/fulldisclosure/2012/Apr/78
- https://www.dolibarr.org/
- https://www.exploit-db.com/exploits/18724
- https://www.exploit-db.com/exploits/18725
- https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injection
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb
- https://seclists.org/fulldisclosure/2012/Apr/78
- https://www.exploit-db.com/exploits/18724
- https://www.exploit-db.com/exploits/18725
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.