Closed Bug 1579357 Opened 7 years ago Closed 7 years ago

Right-clicking a Malformed Blob URI Crashes Tab

Categories

(Core :: DOM: File, defect, P2)

68 Branch
defect

Tracking

()

VERIFIED FIXED
mozilla71
Tracking Status
firefox-esr60 --- wontfix
firefox-esr68 --- wontfix
firefox69 --- wontfix
firefox70 --- wontfix
firefox71 --- verified

People

(Reporter: bad.32, Assigned: baku)

Details

(Keywords: crash, csectype-dos, testcase, Whiteboard: [sg:dos])

Attachments

(2 files)

Attached file crash.html

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

right-click on malformed blob-url link (see attached file).

Actual results:

tab crash, crash dump code caused stack-overflow(exhaustion), opened post-mortem debugger.

Huh, that doesn't look great, this is the crash report: https://crash-stats.mozilla.org/report/index/b1efec75-c7c9-480e-be75-be8550190906#tab-details

I don't know how to associate it with an existing bug, though.

Baku, can you take a look at this, please?

Group: firefox-core-security → core-security
Component: Untriaged → DOM: File
Flags: needinfo?(amarchesini)
Product: Firefox → Core

The PoC URL is data: URL, not a blob URL. This also crashes with other incomplete URL schemes, like ftp: , moz-icon:, etc.

Assignee: nobody → amarchesini
Flags: needinfo?(amarchesini)
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P2
Whiteboard: [sg:dos]
Group: core-security
Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c9b564c14e4f Check the arguments in BasePrincipal XPCOM methods, r=jkt
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71

Confirmed issue with 71.0a1 (2019-09-06) on Windows 10.
Fix verified with 71.0b8 on Windows 10, macOS 10.13.6, Ubuntu 18.04.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: