Home

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.

PUBLISHED Reserved 2025-08-11 | Published 2025-08-13 | Updated 2025-08-14 | Assigner VulnCheck




CRITICAL: 9.4CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Problem types

CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Product status

Default status
unaffected

*
affected

*
affected

Credits

Nahuel Grisolia finder

References

raw.githubusercontent.com/...linux/http/dolibarr_cmd_exec.rb exploit

www.exploit-db.com/exploits/18725 exploit

www.exploit-db.com/exploits/18724 exploit

seclists.org/fulldisclosure/2012/Apr/78 technical-description exploit

www.dolibarr.org/ product

www.vulncheck.com/...-erp-crm-post-auth-os-command-injection third-party-advisory

cve.org (CVE-2012-10059)

nvd.nist.gov (CVE-2012-10059)

Download JSON