CVE-2018-25357
Dolibarr ERP CRM contains a remote code evaluation vulnerability
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
Description
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| composer::GitHub Security Advisory Composer | dolibarr/dolibarr | 7.0.4, 6.0.8 |
References
- https://dolibarr.org
- https://github.com/Dolibarr/dolibarr
- https://github.com/Dolibarr/dolibarr/commit/41709f07d0aef384723164877395ed081b44b810
- https://github.com/Dolibarr/dolibarr/issues/9032
- https://nvd.nist.gov/vuln/detail/CVE-2018-25357
- https://www.exploit-db.com/exploits/44964
- https://www.vulncheck.com/advisories/dolibarr-erp-crm-remote-code-evaluation-via-install-step1-php