{"id":"CVE-2012-10059","published":"2025-08-13T20:33:50Z","modified":"2026-05-25T23:40:51Z","title":"Dolibarr ERP/CRM Post-Auth OS Command Injection","vendor":"Dolibarr Project","product":"ERP/CRM","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04375,"percentile":0.915,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/18725","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/18724","tags":["exploit"]},{"url":"https://seclists.org/fulldisclosure/2012/Apr/78","tags":["technical-description","exploit"]},{"url":"https://www.dolibarr.org/","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injection","tags":["third-party-advisory"]}],"priority":{"score":29.9,"factors":[{"name":"EPSS percentile","points":18.3},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.58}]},"exploitSources":{"metasploit":[{"name":"Dolibarr ERP/CRM Post-Auth OS Command Injection","module":"exploit/linux/http/dolibarr_cmd_exec","type":"exploit","disclosureDate":"2012-04-06","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb"}],"first":{"date":"2012-04-06","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb"},"provenance":"source"},"vendorSlug":"dolibarr-project","affectedVersions":[{"vendor":"Dolibarr Project","product":"ERP/CRM","versions":["<= 3.2.0"]}],"capec":[{"id":"CAPEC-88","name":"OS Command Injection"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-08-14T14:21:35.355588Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"Dolibarr ERP/CRM contains an OS command injection flaw in the database backup feature, where the export.php script does not sanitize the sql_compat parameter. An attacker with valid user credentials, who can reach the application over the network, can inject arbitrary system commands and execute them on the server without any user interaction or special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:02:16Z"},"euvd":{"id":"EUVD-2012-6605","exploited":false,"provenance":"source"},"exploitRefs":["https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb","https://www.exploit-db.com/exploits/18725","https://www.exploit-db.com/exploits/18724","https://seclists.org/fulldisclosure/2012/Apr/78"]}