CVE-2023-25741
Medium · 6.5CVSS
6.5
EPSS
0.8%
Published
Jun 2, 2023
CISA due date
—
Cloudanix analysis
A browser problem could let one website learn the size of pictures from another site when a user drags and drops them, which might reveal private details.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Low
- Patch risk
- Low
What it actually does
The flaw permits leakage of cross-origin image dimensions through drag-and-drop operations in the browser, exposing size metadata that should remain confidential.
Why it matters to the business
Organizations face potential privacy breaches where image size information from protected resources can be disclosed to unauthorized parties, eroding user trust and complicating compliance with data protection rules.
How an attack unfolds
An attacker hosts a page that registers drag-and-drop event handlers, lures a victim into dragging a cross-origin image onto it, and uses the leaked size data to infer details about protected content before the behavior was disabled.
How to fix it
Upgrade Mozilla Firefox to version 110 or later; the vulnerable drag-and-drop behavior was disabled in that release.
How to confirm the fix worked
Confirm installed Firefox version is at least 110, then test that cross-origin image drag-and-drop no longer exposes size information to JavaScript.
Typical attack path
- Host a malicious page with crafted drag-and-drop listeners
- Social-engineer the victim into performing a cross-origin drag-and-drop action
- Capture leaked image dimensions via JavaScript side effects
- Exfiltrate the size information to the attacker-controlled server
How to detect it
Examine browser telemetry or web server logs for unusual cross-origin drag-and-drop sequences; correlate with any reports of unexpected image metadata exposure.
What your security team should do
- Prioritize rapid deployment of Firefox 110+ across all managed endpoints
- Review internal web applications for any reliance on cross-origin image drag-and-drop features
- Update browser management policies to enforce automatic updates
The record
When dragging and dropping an image cross-origin, the image's size could potentially be leaked. This behavior was shipped in 109 and caused web compatibility problems as well as this security concern, so the behavior was disabled until further review. This vulnerability affects Firefox < 110.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0 | 110.0+build3-0ubuntu0.18.04.1 |
| Ubuntu:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | firefox | 0 | 110.0+build3-0ubuntu0.20.04.1 |
| Ubuntu:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs78 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs91 | 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 |
| Ubuntu:Pro:22.04:LTS | mozjs78 | 0 | No fix |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 110.0.1-1.1 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.5.1-1.1 |
Related vulnerabilities
- CVE-2023-25736 An invalid downcast from `nsHTMLDocument` to `nsIContent` could have lead to undefined… Also affects firefox
- CVE-2023-25733 The return value from `gfx::SourceSurfaceSkia::Map()` wasn't being verified which could… Also affects firefox
- CVE-2023-32210 Documents were incorrectly assuming an ordering of principal objects when ensuring we… Also affects firefox
- CVE-2023-32216 Memory safety bugs present in Firefox 112. Also affects firefox
- CVE-2023-32209 A maliciously crafted favicon could have led to an out of memory crash. Also affects firefox
- CVE-2023-32208 Service workers could reveal script base URL due to dynamic `import()`. Also affects firefox
- CVE-2023-29551 Memory safety bugs present in Firefox 111. Also affects firefox
- CVE-2023-32207 A missing delay in popup notifications could have made it possible for an attacker to… Also affects firefox