{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2012-10059", "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "state": "PUBLISHED", "assignerShortName": "VulnCheck", "dateReserved": "2025-08-11T19:34:12.437Z", "datePublished": "2025-08-13T20:33:50.619Z", "dateUpdated": "2026-05-25T23:40:51.918Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "shortName": "VulnCheck", "dateUpdated": "2026-05-25T23:40:51.918Z" }, "datePublic": "2012-04-09T00:00:00.000Z", "title": "Dolibarr ERP/CRM Post-Auth OS Command Injection", "descriptions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "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." } ], "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": [ { "defaultStatus": "unaffected", "modules": [ "admin/tools/export.php" ], "product": "ERP/CRM", "vendor": "Dolibarr Project", "versions": [ { "lessThanOrEqual": "3.2.0", "status": "affected", "version": "0", "versionType": "semver" } ] } ], "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" } ], "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" } ] } ], "impacts": [ { "capecId": "CAPEC-88", "descriptions": [ { "lang": "en", "value": "CAPEC-88 OS Command Injection" } ] } ], "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" } ] } ], "source": { "discovery": "UNKNOWN" }, "references": [ { "tags": [ "exploit" ], "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": [ "technical-description", "exploit" ], "url": "https://seclists.org/fulldisclosure/2012/Apr/78" }, { "tags": [ "product" ], "url": "https://www.dolibarr.org/" }, { "tags": [ "third-party-advisory" ], "url": "https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injection" } ], "credits": [ { "lang": "en", "value": "Nahuel Grisolia", "type": "finder" } ], "x_generator": { "engine": "vulncheck" } }, "adp": [ { "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" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2025-08-14T14:21:38.227Z" } } ] } }