# CVE-2012-10059

## Summary

- **CVE ID:** CVE-2012-10059
- **Severity:** CRITICAL
- **CVSS Score:** 9.4 (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)
- **CWE:** CWE-78
- **Published:** Aug 13, 2025
- **Last Modified:** May 25, 2026

## 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.

## Affected Products

- Dolibarr Project — ERP/CRM (*)
- Dolibarr Project — ERP/CRM (0)

## References

- [CNA](https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb)
- [CNA](https://www.exploit-db.com/exploits/18725)
- [CNA](https://www.exploit-db.com/exploits/18724)
- [CNA](https://seclists.org/fulldisclosure/2012/Apr/78)
- [CNA](https://www.dolibarr.org/)
- [CNA](https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injection)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 43.63%
- **EPSS Percentile:** 97.4

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-18._