ADVISORIES

GitHub Advisory Database

GHSA-hxmh-2xc4-c894

Dolibarr ERP CRM contains a remote code evaluation vulnerability

Critical CVE-2018-25357

Details

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.

Affected packages

EcosystemPackageAffected versions
Packagistdolibarr/dolibarr
From 7.0.0 before 7.0.4 (fixed in 7.0.4)
Packagistdolibarr/dolibarr
All versions before 6.0.8 (fixed in 6.0.8)

References