CVE-2012-10059

CRITICAL

Dolibarr ERP/CRM <= 3.1.1-3.2.0 - Command Injection

Title source: llm

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.

Exploits (3)

exploitdb WORKING POC VERIFIED
by Nahuel Grisolia · textwebappsphp
https://www.exploit-db.com/exploits/18725
exploitdb WORKING POC VERIFIED
by Metasploit · rubywebappsphp
https://www.exploit-db.com/exploits/18724
metasploit WORKING POC EXCELLENT
rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb

Scores

CVSS v4 9.4
EPSS 0.4363
EPSS Percentile 97.5%
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

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-78
Status published
Products (2)
Dolibarr Project/ERP/CRM < 3.1.1
Dolibarr Project/ERP/CRM < 3.2.0
Published Aug 13, 2025
Tracked Since Feb 18, 2026