Cloudanix VulnDB

CVE-2024-5697

None

CVSS

—

EPSS

0.4%

Published

Jun 11, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A website could tell when someone used Firefox to take a picture of the screen, which should have stayed private.

Exploitation
Requires User Interaction
Attacker needs
None
Complexity
Low
Impact
Data Exposure
Component
Application
Class
Information Disclosure
Remediation
Upgrade
Effort
Low
Patch risk
Low

What it actually does

A website can observe and react to the browser's internal screenshot capture event, disclosing the timing of a user's screenshot action.

Why it matters to the business

Organizations face increased privacy risk for users, potential regulatory scrutiny over data collection practices, and loss of trust when browser protections fail to hide routine user actions.

How an attack unfolds

An attacker hosts a webpage that registers for the browser's screenshot notification; when the user activates Firefox's built-in screenshot tool the page receives the event and can log, transmit, or act on the information.

How to fix it

Upgrade Firefox to version 127 or later; enforce browser updates through enterprise management tools and verify the deployed version on managed endpoints.

How to confirm the fix worked

Confirm Firefox version is 127 or higher; attempt to reproduce the screenshot detection on a test page and verify the event is no longer observable.

Typical attack path

  1. Attacker crafts and hosts a malicious webpage containing JavaScript to monitor screenshot events
  2. User visits the page with an affected Firefox version
  3. User activates the built-in screenshot functionality
  4. Page receives the detection event and exfiltrates the timing or performs additional actions

How to detect it

Review web server access logs and browser telemetry for visits to domains known to test screenshot APIs; inspect JavaScript on high-risk sites for code registering screenshot listeners.

What your security team should do

  • Prioritize deployment of Firefox 127+ across all managed devices within 30 days
  • Add browser version checks to existing endpoint compliance scans
  • Review web applications for any reliance on screenshot detection and remove such logic

The record

A website was able to detect when a user took a screenshot of a page using the built-in Screenshot functionality in Firefox. 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