{"id":"CVE-2012-10059","aliases":["EUVD-2012-6605","GHSA-p23h-626c-6g34","UBUNTU-CVE-2012-10059"],"status":"published","title":"Dolibarr ERP/CRM Post-Auth OS Command Injection","description":"Dolibarr ERP/CRM versions \u003c= 3.1.1 and \u003c= 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.","severity":{"version":"4.0","score":9.4,"vector":"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","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-07","score":0.04454,"percentile":0.91481,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-78"],"published":"2025-08-13T20:33:50Z","modified":"2026-06-17T20:15:07Z","exploits":[{"source":"metasploit","id":"exploit/linux/http/dolibarr_cmd_exec","title":"Dolibarr ERP/CRM Post-Auth OS Command Injection","type":"exploit","platform":"Linux,Unix","date":"2012-04-06","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/linux/http/dolibarr_cmd_exec"}],"affected":[{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"dolibarr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.5+dfsg1-2","3.5.7+dfsg1-1","3.5.8+dfsg1-1","3.5.8+dfsg1-1ubuntu1","3.5.8+dfsg1-1ubuntu1+esm1"]}],"products":[{"vendor":"dolibarr project","product":"erp/crm"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb","tags":["exploit","report"]},{"url":"https://www.exploit-db.com/exploits/18725","tags":["exploit","report"]},{"url":"https://www.exploit-db.com/exploits/18724","tags":["exploit","report"]},{"url":"https://seclists.org/fulldisclosure/2012/Apr/78","tags":["technical-description","exploit","report"]},{"url":"https://www.dolibarr.org/","tags":["product","report"]},{"url":"https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injection","tags":["third-party-advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-10059"},{"url":"https://www.dolibarr.org"},{"url":"https://github.com/advisories/GHSA-p23h-626c-6g34"},{"url":"https://ubuntu.com/security/CVE-2012-10059","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-10059","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2012-10059","title":"Dolibarr ERP/CRM Post-Auth OS Command Injection","description":"Dolibarr ERP/CRM versions \u003c= 3.1.1 and \u003c= 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.","status":"published","published":"2025-08-13T20:33:50.619Z","modified":"2026-05-25T23:40:51.918Z","cvss":[{"version":"4.0","score":9.4,"vector":"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","level":"critical","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:34:49.937255Z"}],"euvd":[{"id":"EUVD-2012-6605","description":"Dolibarr ERP/CRM versions \u003c= 3.1.1 and \u003c= 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.","status":"published","published":"2025-08-13T20:33:50Z","modified":"2026-05-25T23:40:51Z","cvss":[{"version":"4.0","score":9.4,"vector":"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","level":"critical"}],"updated_at":"2026-11-02T18:21:08.174412Z"}],"ghsa":[{"id":"GHSA-p23h-626c-6g34","title":"Dolibarr ERP/CRM versions \u003c= 3.1.1 and \u003c= 3.2.0 contain a post-authenticated OS command injection...","description":"Dolibarr ERP/CRM versions \u003c= 3.1.1 and \u003c= 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.","status":"published","published":"2025-08-13T21:30:30Z","modified":"2025-08-13T21:30:41Z","cvss":[{"version":"4.0","score":9.4,"vector":"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","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:03:16.715076Z"}],"nvd":[{"id":"CVE-2012-10059","description":"Dolibarr ERP/CRM versions \u003c= 3.1.1 and \u003c= 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.","status":"published","published":"2025-08-13T21:15:30.453Z","modified":"2026-06-16T23:38:45.99Z","cvss":[{"version":"4.0","score":9.4,"vector":"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","level":"critical","assessor":"secondary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:02:18.043773Z"}],"osv":[{"id":"UBUNTU-CVE-2012-10059","description":"Dolibarr ERP/CRM versions \u003c= 3.1.1 and \u003c= 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.","status":"published","published":"2025-08-13T21:15:00Z","modified":"2026-06-17T20:15:07.370567933Z","cvss":[{"version":"4.0","score":9.4,"vector":"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","level":"critical"}],"updated_at":"2026-11-02T15:54:06.395274Z"}]}}
