CVE-2020-35136 Dolibarr authenticated Remote Code Execution
An authenticated admin can achieve remote code execution by injecting commands into the backup filename parameter in Dolibarr.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-35136?
CVE-2020-35136 is a high-severity command injection vulnerability in Dolibarr Dolibarr Erp\/Crm, published on 23 Dec 2020. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Dolibarr 12.0.3 is vulnerable to authenticated Remote Code Execution. An attacker who has the access the admin dashboard can manipulate the backup function by inserting a payload into the filename for the zipfilename_template parameter to admin/tools/dolibarr_export.php.
Weakness: CWE-88
Which versions are affected by CVE-2020-35136?
3 open source packages ship an affected version, including dolibarr/dolibarr and dolibarr. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dolibarr/dolibarr Packagist | All versions | 12.0.4 |
dolibarr/dolibarr Packagist | All versions | 12.0.4 |
dolibarr Bitnami | From 12.0.3 to 12.0.3 | None |
Products include Dolibarr Dolibarr Erp\/Crm.
How do I fix CVE-2020-35136?
Upgrade dolibarr/dolibarr to 12.0.4 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-35136 being exploited?
There is no known exploitation of CVE-2020-35136 in the wild and no public exploit code.
Other vulnerabilities in Dolibarr Dolibarr Erp\/Crm
Sources
Also known as BIT-dolibarr-2020-35136, GHSA-7x8g-h246-gvx3, UBUNTU-CVE-2020-35136.