CVE-2023-29545 Command injection in Firefox

Medium 6.5 Published Updated

Attackers can execute arbitrary commands via environment variable expansion in suggested filenames during Save Link As 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-2023-29545?

CVE-2023-29545 is a medium-severity command injection vulnerability in Mozilla Firefox, published on 19 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

Similar to CVE-2023-28163, this time when choosing 'Save Link As', suggested filenames containing environment variable names would have resolved those in the context of the current user.

*This bug only affects Firefox and Thunderbird on Windows. Other versions of Firefox and Thunderbird are unaffected.* This vulnerability affects Firefox < 112, Firefox ESR < 102.10, and Thunderbird < 102.10.

Which versions are affected by CVE-2023-29545?

It affects 3 products.

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

How do I fix CVE-2023-29545?

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-2023-29545 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-xhrg-vc2x-xrcj, UBUNTU-CVE-2023-29545.

Is CVE-2023-29545 in your software?

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

Check your SBOMs for free