Blank Address Bar Spoof (also affect permission dialog)
Categories
(Fenix :: Toolbar, defect)
Tracking
(Not tracked)
People
(Reporter: sourc7, Unassigned)
Details
(Keywords: reporter-external)
Attachments
(4 files, 1 obsolete file)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36
Steps to reproduce:
This bug is similar to Bug 1521708 that has been fixed on Firefox for Desktop. But it still works on Firefox for Android.
- Open attached file "spoof.html"
- Click "Sign in with Google" button
Actual results:
Address bar show "Search or enter address"
Expected results:
Address bar show "about:blank"
Reporter | ||
Comment 1•4 years ago
|
||
Reporter | ||
Comment 2•4 years ago
|
||
Furthermore when I added Geolocation API to the about:blank
window page, the permission dialog is show as "Allow to use your location?" (hiding the origin URL).
I've rewritten the spoof.html with the intention of mimicking Google Maps web page (that usually request user current location), so when user click "View on Google Maps" it will render Google Maps on <iframe>
at about:blank
page. After a seconds, the Geolocation API asked permissions with prompt "Allow to use your location?" (hiding the origin URL).
As the origin URL is hidden, user will likely tap "Allow" as Google Maps webpage usually asked the permission to detect current location.
Reporter | ||
Comment 3•4 years ago
|
||
Reporter | ||
Comment 4•4 years ago
|
||
Reporter | ||
Comment 5•4 years ago
|
||
Added title and ensure user to tap on permission dialog.
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 6•4 years ago
|
||
Previously I tested this works on Firefox for Android Nightly 201113 17:03 (Build #2015775439) (as reproduced on screenshot above)
Then after 5 days reporting this issue, I updated the Firefox to Android Nightly 201118 17:04 (Build #2015776395), I surprised the issue has been fixed (because Mozilla team usually discusses the fix on the reported ticket).
I confirm it still works on Firefox for Android 83.1.0 (Build #2015776403). So the fix is somewhere between Firefox for Android Nightly 201114 to 20118.
Updated•4 years ago
|
Comment 7•4 years ago
|
||
Fixed by 1676311
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•2 years ago
|
Updated•6 months ago
|
Description
•