CVE-2019-9804 Command injection in Firefox
Attackers can execute arbitrary bash commands on macOS by tricking users into pasting a maliciously crafted URL copied from Firefox Developer Tools.
- 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-9804?
CVE-2019-9804 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
In Firefox Developer Tools it is possible that pasting the result of the 'Copy as cURL' command into a command shell on macOS will cause the execution of unintended additional bash script commands if the URL was maliciously crafted. This is the result of an issue with the native version of Bash on macOS. *Note: This issue only affects macOS. Other operating systems are unaffected.*. This vulnerability affects Firefox < 66.
Weakness: CWE-78
Which versions are affected by CVE-2019-9804?
It affects 1 product.
Products include Mozilla Firefox.
How do I fix CVE-2019-9804?
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-9804 being exploited?
There is no known exploitation of CVE-2019-9804 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-448w-rf52-mp55, UBUNTU-CVE-2019-9804.