CVE-2012-10059
published 2025-08-13CVE-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. The export.php…
PriorityP271critical9.4CVSS 4.0
AVNACLATNPRLUINVCHVIHVAHSCHSIHSAHEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EXPLOIT
EPSS
3.18%
86.5th percentile
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.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| dolibarr_project | erp_crm | <= 3.2.0 | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Monitor HTTP requests to export.php containing shell metacharacters or command sequences in the sql_compat parameter, which is the injection point for this OS command injection vulnerability. ↗
- →This is a post-authenticated vulnerability; correlate suspicious export.php requests with prior successful authentication events to identify abuse by compromised or malicious authenticated users. ↗
- →Focus detection on Dolibarr ERP/CRM versions 3.1.1 and below, and 3.2.0 and below, as these are the confirmed vulnerable versions. ↗
- ·A public Metasploit module exists for this vulnerability, significantly lowering the bar for exploitation by less-skilled attackers. ↗
CVSS provenance
nvdv4.09.4CRITICALCVSS: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
osv9.4CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2012-10059: Dolibarr ERP/CRM versions <= 3
osv·2025-08-13·CVSS 9.4
CVE-2012-10059 [CRITICAL] CVE-2012-10059: Dolibarr ERP/CRM versions <= 3
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.
GHSA
GHSA-p23h-626c-6g34: Dolibarr ERP/CRM versions <= 3
ghsa_unreviewed·2025-08-13
CVE-2012-10059 [CRITICAL] CWE-78 GHSA-p23h-626c-6g34: Dolibarr ERP/CRM versions <= 3
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.
No detection rules found.
No writeups or analysis indexed.
https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rbhttps://seclists.org/fulldisclosure/2012/Apr/78https://www.dolibarr.org/https://www.exploit-db.com/exploits/18724https://www.exploit-db.com/exploits/18725https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injectionhttps://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rbhttps://seclists.org/fulldisclosure/2012/Apr/78https://www.exploit-db.com/exploits/18724https://www.exploit-db.com/exploits/18725
2025-08-13
Published