CVE-2023-23602 Content Security Policy wasn't being correctly applied to WebSockets in WebWorkers

Medium 6.5 Published Updated

Attackers can bypass Content Security Policy restrictions to connect to restricted origins from WebWorkers in Firefox and Thunderbird.

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

CVE-2023-23602 is a medium-severity 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

A mishandled security check when creating a WebSocket in a WebWorker caused the Content Security Policy connect-src header to be ignored. This could lead to connections to restricted origins from inside WebWorkers. This vulnerability affects Firefox < 109, Firefox ESR < 102.7, and Thunderbird < 102.7.

Weakness: CWE-754

Which versions are affected by CVE-2023-23602?

It affects 3 products.

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

How do I fix CVE-2023-23602?

Upgrade to a fixed version.

Is CVE-2023-23602 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-23602 exists.

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-23602, GHSA-457f-c77p-7wc3, OESA-2024-2057, OESA-2024-2058, OESA-2024-2120, UBUNTU-CVE-2023-23602.

Is CVE-2023-23602 in your software?

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

Check your SBOMs for free