CVE-2019-9794 Command injection in Firefox

Critical 9.8 Published Updated

Attackers can execute arbitrary files via unsanitized command line arguments when Firefox is used as a default URI handler on Windows.

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

What is CVE-2019-9794?

CVE-2019-9794 is a critical command injection vulnerability in Mozilla Firefox, published on 26 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was discovered where specific command line arguments are not properly discarded during Firefox invocation as a shell handler for URLs. This could be used to retrieve and execute files whose location is supplied through these command line arguments if Firefox is configured as the default URI handler for a given URI scheme in third party applications and these applications insufficiently sanitize URL data. *Note: This issue only affects Windows operating systems. Other operating systems are unaffected.*. This vulnerability affects Thunderbird < 60.6, Firefox ESR < 60.6, and Firefox < 66.

Weakness: CWE-88

Which versions are affected by CVE-2019-9794?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Thunderbird.

How do I fix CVE-2019-9794?

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-2019-9794 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-2cx8-vq8f-mwm5, UBUNTU-CVE-2019-9794.

Is CVE-2019-9794 in your software?

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

Check your SBOMs for free