CVE-2021-29987 Security feature bypass in Firefox

Medium 6.5 Published Updated

Attackers can trick Linux Firefox users into granting unwanted permissions by exploiting UI positioning flaws in permission dialogs.

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-2021-29987?

CVE-2021-29987 is a medium-severity vulnerability in Mozilla Firefox, published on 17 Aug 2021. 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

After requesting multiple permissions, and closing the first permission panel, subsequent permission panels will be displayed in a different position but still record a click in the default location, making it possible to trick a user into accepting a permission they did not want to. *This bug only affects Firefox on Linux. Other operating systems are unaffected.*. This vulnerability affects Firefox < 91 and Thunderbird < 91.

Weakness: CWE-307

Which versions are affected by CVE-2021-29987?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Thunderbird.

How do I fix CVE-2021-29987?

Upgrade to a fixed version.

Is CVE-2021-29987 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-h5xx-jcpx-5hr9, UBUNTU-CVE-2021-29987.

Is CVE-2021-29987 in your software?

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

Check your SBOMs for free