{"id":"UBUNTU-CVE-2018-25357","details":"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.","modified":"2026-06-18T00:30:09.362827609Z","published":"2026-05-23T19:16:00Z","related":["USN-8448-1"],"upstream":["CVE-2018-25357"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-25357"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-25357"},{"type":"REPORT","url":"https://dolibarr.org"},{"type":"REPORT","url":"https://github.com/Dolibarr/dolibarr"},{"type":"REPORT","url":"https://www.exploit-db.com/exploits/44964"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/dolibarr-erp-crm-remote-code-evaluation-via-install-step1-php"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8448-1"}],"affected":[{"package":{"name":"dolibarr","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/dolibarr?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.8+dfsg1-1ubuntu1+esm1"}]}],"versions":["3.5.5+dfsg1-2","3.5.7+dfsg1-1","3.5.8+dfsg1-1","3.5.8+dfsg1-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"dolibarr","binary_version":"3.5.8+dfsg1-1ubuntu1+esm1"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25357.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}