GitHub Advisory Database
GHSA-hxmh-2xc4-c894
Dolibarr ERP CRM contains a remote code evaluation vulnerability
Details
Dolibarr ERP CRM 7.0.3 contains a remote code evaluation vulnerability that allows unauthenticated attackers to execute arbitrary code by injecting PHP code through the db_name parameter. Attackers can send a POST request to install/step1.php with malicious PHP code in the db_name parameter, then execute commands via the check.php endpoint using the cmd GET parameter.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | dolibarr/dolibarr | From 7.0.0 before 7.0.4 (fixed in 7.0.4) |
| Packagist | dolibarr/dolibarr | All versions before 6.0.8 (fixed in 6.0.8) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-25357
- https://github.com/Dolibarr/dolibarr/issues/9032
- https://github.com/Dolibarr/dolibarr/commit/41709f07d0aef384723164877395ed081b44b810
- https://dolibarr.org
- https://github.com/Dolibarr/dolibarr
- https://www.exploit-db.com/exploits/44964
- https://www.vulncheck.com/advisories/dolibarr-erp-crm-remote-code-evaluation-via-install-step1-php