CVE-2018-25357: Dolibarr ERP CRM contains a remote code evaluation vulnerability
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 dbname parameter. Attackers can send a POST request to install/step1.php with malicious PHP code in the dbname parameter, then execute commands via the check.php endpoint using the cmd GET parameter.
Published May 26, 2026 · Updated Jun 30, 2026
Affected packages
dolibarr/dolibarr
- Ecosystem
- Composer (PHP)
- Affected
- >= 7.0.0, <= 7.0.3
- Fixed in
- 7.0.4
- Check
composer show dolibarr/dolibarr
dolibarr/dolibarr
- Ecosystem
- Composer (PHP)
- Affected
- < 6.0.8
- Fixed in
- 6.0.8
- Check
composer show dolibarr/dolibarr
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-25357
- 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
- https://github.com/Dolibarr/dolibarr/issues/9032
- https://github.com/Dolibarr/dolibarr/commit/41709f07d0aef384723164877395ed081b44b810
- https://github.com/advisories/GHSA-hxmh-2xc4-c894
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
