PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2024-7524: 
NixOS vulnerability analysis and mitigation

Overview

CVE-2024-7524 is a security vulnerability discovered in Mozilla Firefox that affects Firefox versions prior to 129.0, Firefox ESR versions prior to 115.14, and Firefox ESR versions prior to 128.1. The vulnerability was disclosed on August 6, 2024, and was reported by security researcher Masato Kinugawa (Mozilla Advisory). The issue involves Firefox's web-compatibility shims feature, which is used to replace tracking scripts blocked by Enhanced Tracking Protection (NVD).

Technical details

The vulnerability stems from Firefox's implementation of web-compatibility shims that replace tracking scripts blocked by Enhanced Tracking Protection. On sites protected by Content Security Policy (CSP) in 'strict-dynamic' mode, an attacker who could inject an HTML element could exploit a DOM Clobbering attack on these shims to achieve Cross-Site Scripting (XSS), effectively bypassing the CSP strict-dynamic protection. The vulnerability has been assigned a CVSS v3.1 base score of 6.1 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

The successful exploitation of this vulnerability could allow attackers to bypass Content Security Policy protections and execute cross-site scripting attacks. This could potentially lead to the execution of arbitrary JavaScript code in the context of the affected website, compromising the integrity of the web application and potentially exposing sensitive user information (Mozilla Advisory).

Exploitability

The vulnerability requires an attacker to be able to inject HTML elements into a website that uses CSP strict-dynamic mode and has Enhanced Tracking Protection enabled. The attack leverages DOM Clobbering techniques to bypass the CSP protections through Firefox's web-compatibility shims (Mozilla Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Firefox 129.0, Firefox ESR 115.14, and Firefox ESR 128.1. Users are strongly advised to update their Firefox installations to these versions or later to protect against this security issue. After a standard system update, Firefox needs to be restarted to apply all the necessary changes (Ubuntu Notice).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

firefox-esr: 115.14.0esr-1~deb12u1

Fixed

bullseye

firefox-esr: 115.14.0esr-1~deb11u1

Fixed

sid

firefox-esr: 115.14.0esr-1

Fixed

trixie

firefox-esr: 115.14.0esr-1

Fixed

Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-112940HIGH7.1
  • Python logoPython
  • py3-filelock
NoYesOct 20, 2026
CVE-2026-112937MEDIUM6.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112936MEDIUM6.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112939MEDIUM4.7
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112941LOW3.3
  • Python logoPython
  • filelock
NoYesOct 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management