CVE-2023-29541 Code injection in Firefox

High 8.8 Published Updated

Attackers can execute arbitrary commands on Linux systems by tricking users into downloading malicious .desktop files via Firefox.

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-2023-29541?

CVE-2023-29541 is a high-severity code injection vulnerability in Mozilla Firefox, published on 2 Jun 2023. 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

Firefox did not properly handle downloads of files ending in <code>.desktop</code>, which can be interpreted to run attacker-controlled commands. <br>*This bug only affects Firefox for Linux on certain Distributions. Other operating systems are unaffected, and Mozilla is unable to enumerate all affected Linux Distributions.*. This vulnerability affects Firefox < 112, Focus for Android < 112, Firefox ESR < 102.10, Firefox for Android < 112, and Thunderbird < 102.10.

Weakness: CWE-116

Which versions are affected by CVE-2023-29541?

It affects 5 products.

Products include Mozilla Firefox, Mozilla Firefox Esr, Mozilla Firefox Mobile, Mozilla Focus, Mozilla Thunderbird.

How do I fix CVE-2023-29541?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-29541 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-29541, GHSA-wm65-g4q2-jh7c, UBUNTU-CVE-2023-29541.

Is CVE-2023-29541 in your software?

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

Check your SBOMs for free