Skip to main content

CVE-2024-1550: Mozilla Firefox Pointer Lock Vulnerability

CVE-2024-1550 is a pointer manipulation flaw in Mozilla Firefox that allows malicious websites to reposition the mouse cursor unexpectedly, potentially tricking users into granting unintended permissions. This article covers technical details, affected versions, security impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-1550 Overview

CVE-2024-1550 is a user interface (UI) spoofing vulnerability affecting Mozilla Firefox, Firefox ESR, and Thunderbird. A malicious website could combine exiting fullscreen mode with a requestPointerLock call to reposition the user's mouse cursor unexpectedly. The resulting cursor confusion could trick users into clicking on permission prompts they did not intend to approve, such as camera, microphone, or geolocation requests. The flaw is categorized under CWE-1021: Improper Restriction of Rendered UI Layers or Frames.

Critical Impact

Attackers can manipulate mouse positioning to coerce users into granting sensitive browser permissions, enabling downstream privacy and data-exposure attacks.

Affected Products

  • Mozilla Firefox versions prior to 123
  • Mozilla Firefox ESR versions prior to 115.8
  • Mozilla Thunderbird versions prior to 115.8 (including Debian Linux 10 packages)

Discovery Timeline

Technical Details for CVE-2024-1550

Vulnerability Analysis

The vulnerability resides in Firefox's handling of the Pointer Lock API in combination with fullscreen state transitions. When a page exits fullscreen while simultaneously invoking requestPointerLock, the browser could re-anchor the cursor to a location chosen by the attacker. A website can use this behavior to position the pointer directly over a security-sensitive permission dialog as the UI redraws. Users expecting the cursor in its prior location can issue clicks that activate the dialog's accept button, granting access to the webcam, microphone, geolocation, or notifications. The issue is a classic clickjacking variant [CWE-1021], where legitimate browser chrome is weaponized against the user through pointer manipulation rather than iframe overlay. For additional context, see the Mozilla Bug Report #1860065.

Root Cause

The root cause is insufficient synchronization between the fullscreen exit transition and the pointer lock request. Firefox did not consistently prevent requestPointerLock from relocating the cursor relative to a newly rendered, permission-granting dialog. This timing gap allowed scripted combinations to control cursor placement at a moment the user had no visual confirmation of the pointer's position.

Attack Vector

Exploitation requires network delivery and user interaction. A target must load an attacker-controlled page and interact with it. The malicious page triggers fullscreen mode, calls requestPointerLock, then programmatically exits fullscreen while a permission prompt is rendered. The user's next click lands on the attacker-selected UI element rather than the expected position. No authentication is required, and the attack impacts browser chrome, scoring across the privilege boundary. Technical fix details are available in the Mozilla Security Advisory MFSA-2024-05.

Detection Methods for CVE-2024-1550

Indicators of Compromise

  • Browser telemetry showing repeated requestPointerLock calls paired with fullscreen entry/exit transitions from untrusted origins.
  • Unexpected grants of camera, microphone, geolocation, or notification permissions to recently visited domains.
  • Firefox versions below 123, Firefox ESR below 115.8, or Thunderbird below 115.8 reported by endpoint inventory.

Detection Strategies

  • Inventory installed browser versions across managed endpoints and flag any Firefox or Thunderbird builds predating the February 2024 patches.
  • Monitor outbound DNS and web proxy telemetry for navigation to newly registered domains hosting fullscreen or kiosk-style content.
  • Correlate browser permission grant events with user activity to surface prompts accepted within milliseconds of a fullscreen transition.

Monitoring Recommendations

  • Ingest browser audit logs and endpoint process telemetry into a centralized data lake for retrospective hunting.
  • Alert on execution of outdated firefox.exe, firefox-esr, or thunderbird binaries that have not been upgraded past the fixed releases.
  • Track user reports of unexpected camera or microphone activation and tie them to recent browsing history.

How to Mitigate CVE-2024-1550

Immediate Actions Required

  • Upgrade Firefox to version 123 or later on all endpoints.
  • Upgrade Firefox ESR deployments to 115.8 or later.
  • Upgrade Thunderbird installations to 115.8 or later, including Debian LTS packages via apt.
  • Audit granted site permissions and revoke any unexpected camera, microphone, geolocation, or notification access.

Patch Information

Mozilla addressed the issue in Firefox 123, Firefox ESR 115.8, and Thunderbird 115.8. Debian shipped backported fixes through the Debian LTS Announcement March 2024. Enterprise administrators should distribute patched builds through existing software management channels and verify installed versions post-deployment.

Workarounds

  • Disable pointer lock by setting dom.pointer-lock.enabled to false in about:config where upgrades cannot be applied immediately.
  • Restrict fullscreen behavior by setting full-screen-api.enabled to false for high-risk user populations.
  • Deploy browser policy to block camera, microphone, and geolocation prompts on untrusted origins.
bash
# Debian/Ubuntu patch deployment example
sudo apt update
sudo apt install --only-upgrade firefox-esr thunderbird
firefox-esr --version
thunderbird --version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.