cbcvebase.
CVE-2012-10059
published 2025-08-13

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. 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
VendorProductVersion rangeFixed in
dolibarr_projecterp_crm<= 3.2.0

Detection & IOCsextracted from sources · hover to see the quote

pathexport.php
othersql_compat
  • 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.