Cloudanix VulnDB

CVE-2024-5701

Critical · 9.8

CVSS

9.8

EPSS

0.6%

Published

Jun 11, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in the browser could let attackers take over a user's computer simply by getting them to visit a malicious website.

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

What it actually does

Multiple memory safety issues in the browser engine resulting in memory corruption that can be leveraged for arbitrary code execution with no user interaction required beyond visiting a malicious page.

Why it matters to the business

Attackers could gain full control over affected user systems, enabling theft of credentials, installation of persistent malware, or use of compromised machines for further attacks; low urgency due to absence of known exploitation and stable low exploit probability.

How an attack unfolds

An attacker hosts or compromises a website containing specially crafted content that triggers one of the memory corruption conditions during page rendering or JavaScript execution, allowing the attacker to overwrite memory structures and redirect execution flow to attacker-controlled code.

How to fix it

Upgrade all instances to Firefox 127 or later; enable automatic updates and verify version after deployment.

How to confirm the fix worked

Query installed browser versions across the environment and confirm presence of the 127 release or newer; review update logs for successful deployment.

Typical attack path

  1. Attacker prepares and hosts malicious webpage or injects payload into compromised site
  2. Victim browser loads the page and processes the crafted content
  3. Memory corruption is triggered leading to control-flow hijacking
  4. Arbitrary native code is executed within the browser process context

How to detect it

Review browser crash reports and process creation logs for unexpected child processes spawned from the browser; correlate with web proxy logs showing visits to newly registered or suspicious domains around the time of anomalies.

What your security team should do

  • Apply the browser update to version 127 or later as the primary remediation
  • Monitor public exploit development and EPSS trend for any future increase in risk
  • Educate users on avoiding untrusted websites until patches are applied

The record

Memory safety bugs present in Firefox 126. 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 < 127.

Affected packages

Ecosystem Package Introduced Fixed
Chainguard firefox 0 127.0.2-r0
Ubuntu:18.04:LTS mozjs38 0 No fix
Ubuntu:18.04:LTS mozjs52 0 No fix
Ubuntu:20.04:LTS firefox 0 127.0.2+build1-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
Wolfi firefox 0 127.0.2-r0
openSUSE:Tumbleweed MozillaFirefox 0 127.0-1.1
openSUSE:Tumbleweed firefox-esr 0 128.5.1-1.1

Related vulnerabilities