{"id":"CVE-2012-10059","state":"PUBLISHED","title":"Dolibarr ERP/CRM Post-Auth OS Command Injection","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.","publishedAt":"2025-08-13T20:33:50.619Z","updatedAt":"2026-05-25T23:40:51.918Z","severity":{"score":9.4,"label":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["Dolibarr Project ERP/CRM"],"affected":[{"vendor":"Dolibarr Project","product":"ERP/CRM","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.2.0","versionType":"semver"}],"modules":["admin/tools/export.php"]}],"references":["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","https://www.dolibarr.org/","https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injection"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T19:40:13.167Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/10xxx/CVE-2012-10059.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2012-10059","state":"PUBLISHED","datePublished":"2025-08-13T20:33:50.619Z","dateUpdated":"2026-05-25T23:40:51.918Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2025-08-11T19:34:12.437Z"},"containers":{"cna":{"title":"Dolibarr ERP/CRM Post-Auth OS Command Injection","descriptions":[{"lang":"en","value":"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":[{"vendor":"Dolibarr Project","product":"ERP/CRM","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.2.0","versionType":"semver"}],"modules":["admin/tools/export.php"]}],"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"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":9.4,"baseSeverity":"CRITICAL","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-05-25T23:40:51.918Z"},"datePublic":"2012-04-09T00:00:00.000Z","cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:dolibarr:dolibarr:*:*:*:*:*:*:*:*","versionEndIncluding":"3.1.1","versionStartIncluding":"0","vulnerable":true},{"criteria":"cpe:2.3:a:dolibarr:dolibarr:*:*:*:*:*:*:*:*","versionEndIncluding":"3.2.0","versionStartIncluding":"0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"OR"}],"impacts":[{"capecId":"CAPEC-88","descriptions":[{"lang":"en","value":"CAPEC-88 OS Command Injection"}]}],"source":{"discovery":"UNKNOWN"},"credits":[{"lang":"en","value":"Nahuel Grisolia","type":"finder"}],"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","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":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-08-14T14:21:35.355588Z","id":"CVE-2012-10059","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-08-14T14:21:38.227Z"}}]}}}