Spoofing Download Dialog in Firefox for Android
Categories
(Firefox for Android :: Downloads, defect, P2)
Tracking
()
People
(Reporter: fazim.pentester, Unassigned)
References
Details
(Keywords: reporter-external, Whiteboard: [reporter-external] [client-bounty-form] [verif?])
Attachments
(2 files)
In Firefox for Android, an attacker could spoof the download dialog using the below proof-of-concept. Here, the victim visits an attacker-controlled site and is asked to update the browser. When clicked, the victim is redirected to the official Mozilla site with the download dialog opened there. The attacker could also use the 'onload' event to directly execute this without a click. This method is most effective when sent via email, with hidden href, and the victim is directly redirected to the spoofed page.
Steps to Reproduce:
- Download the file poc.html to a folder
- Start a Python server on the same folder by running the command python -m http.server 8080.
- Open the Android Firefox browser and navigate to the server at http://{YOUR-SERVER-IP}:8080/poc.html to Begin testing.
Video Demonstration: https://youtu.be/8yQtULpWkJQ (YouTube Unlisted)
| Reporter | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
| Reporter | ||
Comment 2•3 years ago
|
||
The same spoofing method works with Chrome for Android, and it is also vulnerable.
(From Google Chrome Team)
I agree this is a bit misleading. Maybe the prompt shouldn't be displayed when the current tab displayed is different from the one who initiated the download? Or, maybe we should display the origin of the initiator?
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Shaheen, thanks for the POC. I'll make sure this bug gets triaged.
Updated•3 years ago
|
| Reporter | ||
Comment 4•3 years ago
|
||
Thank you. It appears that the Intent Dialogue is also vulnerable to a similar attack. I have opened a separate issue to address this vulnerability.
| Reporter | ||
Updated•3 years ago
|
| Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•18 days ago
|
Description
•