Mozilla Firefox up to 104 Content-Security-Policy injection

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.0 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in Mozilla Firefox up to 104. This affects an unknown function of the component Content-Security-Policy. Executing a manipulation can lead to injection. This vulnerability is registered as CVE-2022-40956. It is possible to launch the attack remotely. No exploit is available. The affected component should be upgraded.
Details
A vulnerability classified as critical was found in Mozilla Firefox up to 104 (Web Browser). This vulnerability affects an unknown part of the component Content-Security-Policy. The manipulation with an unknown input leads to a injection vulnerability. The CWE definition for the vulnerability is CWE-74. The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
When injecting an HTML base element, some requests would ignore the CSP's base-uri settings and accept the injected element's base instead. This vulnerability affects Firefox ESR < 102.3, Thunderbird < 102.3, and Firefox < 105.
The weakness was published 09/20/2022 by Satoki Tsuji as Bug 1770094 as confirmed advisory (Website). The advisory is shared for download at bugzilla.mozilla.org. The advisory contains:
When injecting an HTML base element, some requests would ignore the CSP's base-uri settings and accept the injected element's base instead.This vulnerability was named CVE-2022-40956. Successful exploitation requires user interaction by the victim. There are neither technical details nor an exploit publicly available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 04/15/2025). The MITRE ATT&CK project declares the attack technique as T1055.
The vulnerability scanner Nessus provides a plugin with the ID 208611 (CentOS 7 : firefox (RHSA-2022:6711)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 105 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (208611). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.mozilla.org/
- Product: https://www.mozilla.org/en-US/firefox/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.2VulDB Meta Temp Score: 6.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.1
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: InjectionCWE: CWE-74 / CWE-707 / CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 208611
Nessus Name: CentOS 7 : firefox (RHSA-2022:6711)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Firefox 105
Timeline
09/19/2022 🔍09/20/2022 🔍
09/20/2022 🔍
09/29/2022 🔍
04/29/2025 🔍
Sources
Vendor: mozilla.orgProduct: mozilla.org
Advisory: Bug 1770094
Researcher: Satoki Tsuji
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2022-40956 (🔍)
GCVE (CVE): GCVE-0-2022-40956
GCVE (VulDB): GCVE-100-209800
Entry
Created: 09/29/2022 14:15Updated: 04/29/2025 15:42
Changes: 09/29/2022 14:15 (18), 09/29/2022 14:19 (28), 10/25/2022 13:07 (1), 10/13/2024 13:07 (16), 04/15/2025 19:52 (12), 04/29/2025 15:42 (3)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.