CVE-2020-9576 Magento command injection vulnerability

Critical 9.8 Published Updated

Attackers can execute arbitrary code via command injection in Magento, requiring immediate patching for e-commerce security.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-9576?

CVE-2020-9576 is a critical command injection vulnerability in Magento Magento, published on 26 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Magento versions 2.3.4 and earlier, 2.2.11 and earlier (see note), 1.14.4.4 and earlier, and 1.9.4.4 and earlier have a command injection vulnerability. Successful exploitation could lead to arbitrary code execution.

Weakness: CWE-77

Which versions are affected by CVE-2020-9576?

9 open source packages ship an affected version, including magento/community-edition, magento and magento/core. It affects 1 product.

PackageAffectedFixed in
magento/community-edition PackagistAll versions2.2.12
magento/community-edition PackagistAll versions2.2.12
magento/community-edition PackagistFrom 2.3.02.3.4-p2
magento/community-edition PackagistFrom 2.3.02.3.4-p2
magento BitnamiFrom 2.2.02.2.12, 2.3.5
magento/core PackagistAll versions1.9.4.5
3 more packages
magento/core PackagistAll versions1.9.4.5
magento/project-community-edition PackagistAll versions to 2.0.2None
magento/project-community-edition PackagistAll versions to 2.0.2None

Products include Magento Magento.

How do I fix CVE-2020-9576?

Upgrade magento/community-edition to a fixed version for your release line: 2.2.12 or 2.3.4-p2.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2020-9576 being exploited?

There is no known exploitation of CVE-2020-9576 in the wild and no public exploit code.

All Magento Magento vulnerabilities

Sources

Also known as BIT-magento-2020-9576, GHSA-4f7x-gjqc-qqpg.

Is CVE-2020-9576 in your software?

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

Check your SBOMs for free