CVE-2020-9689 Magento path traversal vulnerability

Medium 6.5 Published Updated

Attackers can exploit a path traversal flaw in Magento to achieve arbitrary code execution on the server.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-9689?

CVE-2020-9689 is a medium-severity path traversal vulnerability in Magento Magento, published on 29 Jul 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Magento versions 2.3.5-p1 and earlier, and 2.3.5-p1 and earlier have a path traversal vulnerability. Successful exploitation could lead to arbitrary code execution.

Weakness: CWE-22

Which versions are affected by CVE-2020-9689?

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

PackageAffectedFixed in
magento/community-edition PackagistAll versions2.3.5-p2
magento/community-edition PackagistAll versions2.3.5-p2
magento BitnamiAll versions2.3.6
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-9689?

Upgrade magento/community-edition to 2.3.5-p2 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-9689 being exploited?

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

All Magento Magento vulnerabilities

Sources

Also known as BIT-magento-2020-9689, GHSA-fr6f-xmfx-rrpq.

Is CVE-2020-9689 in your software?

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

Check your SBOMs for free