critical9.8
CVE-2018-25357
Dolibarr ERP CRM 7.0.3 contains a remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary code by injecting PHP code thr…
Impact
Dolibarr ERP CRM 7.0.3 contains a remote code execution 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 | Fixed in |
|---|---|---|---|
| composer | dolibarr/dolibarr | >= 7.0.0, <= 7.0.3 | 7.0.4 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Dolibarr | Dolibarr Erp\/Crm | through 7.0.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-hxmh-2xc4-c894
- 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