CVE-2020-6799 Command injection in Firefox

High 8.8 Published Updated

Attackers can execute arbitrary code via command line injection when Firefox is the default handler for specific file types on Windows.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-6799?

CVE-2020-6799 is a high-severity command injection vulnerability in Mozilla Firefox, published on 2 Mar 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Command line arguments could have been injected during Firefox invocation as a shell handler for certain unsupported file types. This required Firefox to be configured as the default handler for a given file type and for a file downloaded to be opened in a third party application that insufficiently sanitized URL data. In that situation, clicking a link in the third party application could have been used to retrieve and execute files whose location was supplied through command line arguments. Note: This issue only affects Windows operating systems and when Firefox is configured as the default handler for non-default filetypes. Other operating systems are unaffected. This vulnerability affects Firefox < 73 and Firefox < ESR68.5.

Weakness: CWE-88

Which versions are affected by CVE-2020-6799?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Firefox Esr.

How do I fix CVE-2020-6799?

Upgrade to a fixed version.

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

Is CVE-2020-6799 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-8h3q-5823-cjpv.

Is CVE-2020-6799 in your software?

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

Check your SBOMs for free