CVE-2020-35136 Dolibarr authenticated Remote Code Execution

High 7.2 Published Updated

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.

PackageAffectedFixed in
dolibarr/dolibarr PackagistAll versions12.0.4
dolibarr/dolibarr PackagistAll versions12.0.4
dolibarr BitnamiFrom 12.0.3 to 12.0.3None

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.

All Dolibarr Dolibarr Erp\/Crm vulnerabilities

Sources

Also known as BIT-dolibarr-2020-35136, GHSA-7x8g-h246-gvx3, UBUNTU-CVE-2020-35136.

Is CVE-2020-35136 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free