{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/87414?format=json","vulnerability_id":"VCID-4c81-1yd2-1kdd","summary":"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.","aliases":[{"alias":"CVE-2012-10059"}],"fixed_packages":[],"affected_packages":[],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2012-10059","reference_id":"","reference_type":"","scores":[{"value":"0.67181","scoring_system":"epss","scoring_elements":"0.98582","published_at":"2026-06-11T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2012-10059"},{"reference_url":"https://www.exploit-db.com/exploits/18724","reference_id":"18724","reference_type":"","scores":[{"value":"9.4","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2025-08-14T14:21:35Z/"}],"url":"https://www.exploit-db.com/exploits/18724"},{"reference_url":"https://www.exploit-db.com/exploits/18725","reference_id":"18725","reference_type":"","scores":[{"value":"9.4","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2025-08-14T14:21:35Z/"}],"url":"https://www.exploit-db.com/exploits/18725"},{"reference_url":"https://seclists.org/fulldisclosure/2012/Apr/78","reference_id":"78","reference_type":"","scores":[{"value":"9.4","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2025-08-14T14:21:35Z/"}],"url":"https://seclists.org/fulldisclosure/2012/Apr/78"},{"reference_url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb","reference_id":"dolibarr_cmd_exec.rb","reference_type":"","scores":[{"value":"9.4","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2025-08-14T14:21:35Z/"}],"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb"},{"reference_url":"https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injection","reference_id":"dolibarr-erp-crm-post-auth-os-command-injection","reference_type":"","scores":[{"value":"9.4","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2025-08-14T14:21:35Z/"}],"url":"https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injection"},{"reference_url":"https://www.dolibarr.org/","reference_id":"www.dolibarr.org","reference_type":"","scores":[{"value":"9.4","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2025-08-14T14:21:35Z/"}],"url":"https://www.dolibarr.org/"}],"weaknesses":[{"cwe_id":78,"name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."}],"exploits":[{"date_added":null,"description":"This module exploits a vulnerability found in Dolibarr ERP/CRM 3's\n          backup feature.  This software is used to manage a company's business\n          information such as contacts, invoices, orders, stocks, agenda, etc.\n          When processing a database backup request, the export.php function\n          does not check the input given to the sql_compat parameter, which allows\n          a remote authenticated attacker to inject system commands into it,\n          and then gain arbitrary code execution.","required_action":null,"due_date":null,"notes":"Reliability:\n  - unknown-reliability\nStability:\n  - unknown-stability\nSideEffects:\n  - unknown-side-effects\n","known_ransomware_campaign_use":false,"source_date_published":"2012-04-06","exploit_type":null,"platform":"Linux,Unix","source_date_updated":null,"data_source":"Metasploit","source_url":"https://github.com/rapid7/metasploit-framework/tree/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb"}],"severity_range_score":"9.4 - 9.4","exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-4c81-1yd2-1kdd"}