iOS Firefox Focus file:// URI address bar spoofing
Categories
(Focus :: Security: iOS, defect)
Tracking
(firefox126 fixed)
| Tracking | Status | |
|---|---|---|
| firefox126 | --- | fixed |
People
(Reporter: proof131072, Unassigned)
References
Details
(Keywords: csectype-spoof, reporter-external, sec-high, Whiteboard: [reporter-external] [client-bounty-form] [verif?])
Attachments
(3 files)
We are able to spoof address bar of iOS Firefox Focus with file:// URI as if we are on https.
This is worse than some spoof issues like https://bugs.chromium.org/p/chromium/issues/detail?id=809062 since file:// part is not viewable by users but only facebook.com just like when we are on https.
this doesn't work with other URIs like about://, data:// etc.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 4•1 year ago
|
||
The URL bar does have the crossed out shield which I guess means not secure? But otherwise this looks fairly convincing from the video.
That's tracking protection, please tap on that to check SSL lock with secure.
Comment 6•1 year ago
|
||
Ah, right. Sorry for the confusion.
Ah, SSL lock with secure is already shown in the demo video 0:04, sorry for the confusion.
Hi James, just to clarify and make sure I'm understanding: the issue here is that the URL shown in the address bar is incorrect on Focus (and has been spoofed), is that correct? I noticed there were some comments regarding the SSL lock and wanted to just double-check whether there were any other security issues involved. Thank you
| Reporter | ||
Comment 10•1 year ago
|
||
Hi mreagan, that's correct and it's a same bug that allows to spoof SSL lock as secured too (Full Address bar Spoof with SSL lock enabled).
Please test with https://bugzilla.mozilla.org/attachment.cgi?id=9372707 after logged in bugzilla on Focus.
Comment 11•1 year ago
|
||
hey James, I took a look yesterday both at Firefox and Focus and I was curious how spoofing works. It seems o Firefox we don't get a callback with the file://facebook.com and I'm looking to find why so that's one first difference.
| Reporter | ||
Comment 12•1 year ago
|
||
Hi Razvan, thanks for letting me know.
That's because Focus allows to window.open() "file://facebook.com" while Firefox doesn't.
So the fix could be not allowing file:// to be opened with window.open() from Focus.
Comment 13•1 year ago
|
||
Could I have a review on my proposed solution? https://github.com/mozilla-mobile/firefox-ios/pull/19968.
Comment 14•1 year ago
|
||
Note: fix has been merged & backported, targeting v126
Comment 15•1 year ago
|
||
Hello, can you please provide some steps to verify this issue?
| Reporter | ||
Comment 16•1 year ago
|
||
It's in comment 1 #c1: Login to bugzilla from Focus and follow the step, which is "Tap on Genius Cool Cat to reproduce this issue." with the attached 1874560.html file.
Comment 17•1 year ago
•
|
||
validated this issue using Focus v126 (41601). Confirming that taping on Genius Cool Cat user is not redirected to facebook.com anymore, but the user is redirected to pwning.click URL
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 19•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Description
•