CVE-2024-5689
NoneCVSS
—
EPSS
0.4%
Published
Jun 11, 2024
CISA due date
—
Cloudanix analysis
A website could trick people using an older Firefox browser into clicking what looked like a normal button and then steal their login details on a fake page.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Other
- Component
- Application
- Class
- Other
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A malicious website can detect screenshot activity in Firefox and overlay a fake 'My Shots' button that redirects users to a phishing replica of the Firefox Screenshots service.
Why it matters to the business
Users may be tricked into entering credentials or sensitive information on a fake site, resulting in account takeovers, data theft, or further malware infection with minimal direct operational disruption to the organization.
How an attack unfolds
An attacker hosts a webpage that monitors for screenshot events, dynamically overlays the legitimate-looking button, and on click sends the victim to an attacker-controlled replica page designed to harvest credentials or deliver payloads.
How to fix it
Upgrade Firefox to version 127 or later on all endpoints; enforce automatic browser updates through enterprise policy where possible.
How to confirm the fix worked
Query browser version strings across the fleet and confirm no installations remain below 127; test that screenshot detection no longer triggers the overlay on representative sites.
Typical attack path
- Victim visits attacker-controlled or compromised website in vulnerable Firefox
- Site detects screenshot attempt and renders overlay button
- User clicks button believing it is the native My Shots feature
- Browser navigates to phishing replica of Firefox Screenshots page
- Attacker captures credentials or initiates further social-engineering steps
How to detect it
Review web proxy logs and browser history for navigation to unexpected screenshots.mozilla.org or similar domains immediately following screenshot events; inspect for DOM overlays or unexpected redirects in forensic browser artifacts.
What your security team should do
- Prioritize immediate deployment of Firefox 127+ via centralized update mechanisms
- Block known phishing domains associated with the replica page in web proxies and DNS filters
- Run targeted user-awareness messaging about screenshot-related phishing lures
- Monitor browser telemetry or EDR for unexpected navigation to screenshots-related domains
The record
In addition to detecting when a user was taking a screenshot (XXX), a website was able to overlay the 'My Shots' button that appeared, and direct the user to a replica Firefox Screenshots page that could be used for phishing. 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
- CVE-2026-4726 Denial-of-service in the XML component. Also affects firefox
- CVE-2026-4724 Undefined behavior in the Audio/Video component. Also affects firefox
- CVE-2026-4729 Memory safety bugs present in Firefox 148 and Thunderbird 148. Also affects firefox
- CVE-2026-4722 Privilege escalation in the IPC component. Also affects firefox
- CVE-2026-4723 Use-after-free in the JavaScript Engine component. Also affects firefox
- CVE-2026-4727 Denial-of-service in the Libraries component in NSS. Also affects firefox
- CVE-2026-4728 Spoofing issue in the Privacy: Anti-Tracking component. Also affects firefox
- CVE-2026-4725 Sandbox escape due to use-after-free in the Graphics: Canvas2D component. Also affects firefox