{"id":"CVE-2018-25357","published":"2026-05-23T18:32:14Z","modified":"2026-10-08T15:20:44Z","title":"Dolibarr ERP CRM 7.0.3 Remote Code Execution via install/step1.php","vendor":"Dolibarr","product":"Dolibarr ERP CRM","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01701,"percentile":0.77791,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://www.exploit-db.com/exploits/44964","tags":["exploit"]},{"url":"https://dolibarr.org","tags":["product"]},{"url":"https://github.com/Dolibarr/dolibarr","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/dolibarr-erp-crm-remote-code-evaluation-via-install-step1-php","tags":["third-party-advisory"]}],"priority":{"score":27.4,"factors":[{"name":"EPSS percentile","points":15.56},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"dolibarr","affectedVersions":[{"vendor":"Dolibarr","product":"Dolibarr ERP CRM","versions":["<= 7.0.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-26T13:35:42.433205Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"dolibarr/dolibarr","vulnerableRanges":[">=7.0.0, <7.0.4","<6.0.8"],"patched":["7.0.4","6.0.8"],"from":["GHSA-hxmh-2xc4-c894"],"provenance":"source"}],"summary":{"text":"Dolibarr ERP CRM 7.0.3 has a code generation flaw in its installer, install/step1.php, where the db_name parameter is not sanitised before being written into PHP code. An unauthenticated remote attacker with network access can send a crafted POST request to that installer, with no user interaction or configuration needed, to inject and then run arbitrary commands through the check.php endpoint.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:20:03Z"},"euvd":{"id":"EUVD-2018-21879","exploited":false,"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/44964"]}