Cloudanix VulnDB

CVE-2024-4778

Critical · 9.8

CVSS

9.8

EPSS

0.4%

Published

May 14, 2024

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A flaw in older versions of the Firefox browser family could let attackers take over a user's computer simply by getting them to visit a harmful web page.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Low
Patch risk
Low

What it actually does

Multiple memory safety issues in the browser engine that can result in memory corruption, enabling arbitrary code execution when triggered.

Why it matters to the business

Attackers could gain full control of a user's system by delivering malicious web content, leading to data theft, ransomware deployment, or further network compromise; high ecosystem prevalence of the affected browsers increases organizational exposure.

How an attack unfolds

An attacker hosts or injects specially crafted web content that triggers one of the memory corruption bugs during rendering or script execution, allowing the attacker to escape the sandbox and run arbitrary code on the victim's machine.

How to fix it

Upgrade firefox-esr to 115.2.0esr-1 or later and thunderbird to 1:115.2.0-1 or later on Debian 13; apply equivalent updates in all other distributions and products as soon as available.

How to confirm the fix worked

Query package managers or browser about dialogs to confirm installed versions meet or exceed the fixed releases listed above; re-scan systems after patching to verify absence of vulnerable versions.

Typical attack path

  1. Deliver malicious HTML/JS via phishing, compromised site, or drive-by download
  2. Victim browser processes the content and hits a memory safety flaw
  3. Corruption is leveraged to achieve code execution within the browser process
  4. Payload establishes persistence or exfiltrates data

How to detect it

Review browser crash logs, memory dumps, and process creation events around the time of suspected malicious page loads for signs of unexpected code execution or sandbox escapes; correlate with web proxy logs showing visits to suspicious domains.

What your security team should do

  • Immediately prioritize patching of all firefox-esr and thunderbird instances to the fixed Debian package versions
  • Block known malicious domains and enforce browser sandboxing policies
  • Monitor EPSS and exploit maturity signals for any future increase in risk

The record

Memory safety bugs present in Firefox 125. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code. This vulnerability affects Firefox < 126.

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:18.04:LTS mozjs38 0 No fix
Ubuntu:18.04:LTS mozjs52 0 No fix
Ubuntu:20.04:LTS firefox 0 126.0+build2-0ubuntu0.20.04.1
Ubuntu:20.04:LTS mozjs52 0 No fix
Ubuntu:20.04:LTS mozjs68 0 No fix
Ubuntu:22.04:LTS mozjs102 0 No fix
Ubuntu:22.04:LTS mozjs78 0 No fix
Ubuntu:22.04:LTS mozjs91 0 No fix
Ubuntu:24.04:LTS mozjs102 0 No fix
Ubuntu:Pro:18.04:LTS mozjs38 0 No fix
Ubuntu:Pro:18.04:LTS mozjs52 0 No fix
Ubuntu:Pro:20.04:LTS mozjs52 0 No fix
Ubuntu:Pro:20.04:LTS mozjs68 0 No fix
openSUSE:Tumbleweed MozillaFirefox 0 126.0-1.1
openSUSE:Tumbleweed firefox-esr 0 128.5.1-1.1

Related vulnerabilities