critical9.4
CVE-2012-10059
Dolibarr ERP/CRM versions <= 3.1.1 and <= 3.2.0 contain a post-authenticated OS command injection vulnerability in its database backup feature.
Impact
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
| Vendor | Product | Affected versions |
|---|---|---|
| Dolibarr | Dolibarr ERP/CRM | through 3.1.1 |
| And | through 3.2.0 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb
- https://seclists.org/fulldisclosure/2012/Apr/78
- https://www.dolibarr.org/
- https://www.exploit-db.com/exploits/18724
- https://www.exploit-db.com/exploits/18725
- https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injection
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb
- https://seclists.org/fulldisclosure/2012/Apr/78
- https://www.exploit-db.com/exploits/18724
- https://www.exploit-db.com/exploits/18725