Mozilla Firefox up to 104 Content-Security-Policy injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.0$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.2
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Injection
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 208611
Nessus Name: CentOS 7 : firefox (RHSA-2022:6711)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: Firefox 105

Timelineinfo

09/19/2022 🔍
09/20/2022 +1 days 🔍
09/20/2022 +0 days 🔍
09/29/2022 +9 days 🔍
04/29/2025 +943 days 🔍

Sourcesinfo

Vendor: mozilla.org
Product: 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

Entryinfo

Created: 09/29/2022 14:15
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!