CVE-2020-9689 Magento path traversal vulnerability
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.
| Package | Affected | Fixed in |
|---|---|---|
magento/community-edition Packagist | All versions | 2.3.5-p2 |
magento/community-edition Packagist | All versions | 2.3.5-p2 |
magento Bitnami | All versions | 2.3.6 |
magento/project-community-edition Packagist | All versions to 2.0.2 | None |
magento/project-community-edition Packagist | All versions to 2.0.2 | None |
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.
Other vulnerabilities in Magento Magento
Sources
Also known as BIT-magento-2020-9689, GHSA-fr6f-xmfx-rrpq.