CVE-2021-43540 Missing authorization in Firefox

Medium 6.5 Published Updated

WebExtensions could install persistent ServiceWorkers on third-party sites, allowing unauthorized data access or persistence beyond extension removal.

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-43540?

CVE-2021-43540 is a medium-severity missing authorization vulnerability in Mozilla Firefox, published on 8 Dec 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

WebExtensions with the correct permissions were able to create and install ServiceWorkers for third-party websites that would not have been uninstalled with the extension. This vulnerability affects Firefox < 95.

Which versions are affected by CVE-2021-43540?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2021-43540?

Upgrade to a fixed version.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-43540 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-vj37-39rq-5f3g, UBUNTU-CVE-2021-43540.

Is CVE-2021-43540 in your software?

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

Check your SBOMs for free