CVE-2020-24406 Document root path disclosure on Maintenance page

Low 3.7 Published Updated

Attackers can view the server installation path when Magento is in maintenance mode, aiding further exploitation.

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-24406?

CVE-2020-24406 is a low-severity vulnerability in Magento Magento, published on 9 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

When in maintenance mode, Magento version 2.4.0 and 2.3.4 (and earlier) are affected by an information disclosure vulnerability that could expose the installation path during build deployments. This information could be helpful to attackers if they are able to identify other exploitable vulnerabilities in the environment.

Weakness: CWE-22, CWE-200

Which versions are affected by CVE-2020-24406?

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

PackageAffectedFixed in
magento/community-edition PackagistAll versions2.3.6
magento/community-edition PackagistAll versions2.3.6
magento/community-edition PackagistFrom 2.4.02.4.1
magento/community-edition PackagistFrom 2.4.02.4.1
magento BitnamiAll versions2.3.5, 2.4.1

Products include Magento Magento.

How do I fix CVE-2020-24406?

Upgrade magento/community-edition to a fixed version for your release line: 2.3.6 or 2.4.1.

Is CVE-2020-24406 being exploited?

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

All Magento Magento vulnerabilities

Sources

Also known as BIT-magento-2020-24406, GHSA-mr8q-7f5j-wc79.

Is CVE-2020-24406 in your software?

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

Check your SBOMs for free