Tricking user into accepting PopupNotification prompts through holding down accessKey
Categories
(Toolkit Graveyard :: Notifications and Alerts, defect, P1)
Tracking
(firefox-esr52 unaffected, firefox-esr60 wontfix, firefox58 wontfix, firefox59 wontfix, firefox60 wontfix, firefox65 wontfix, firefox66 wontfix, firefox67 verified)
People
(Reporter: qab, Assigned: johannh)
Details
(Keywords: reporter-external, sec-moderate, Whiteboard: [post-critsmash-triage][adv-main67+])
Attachments
(9 files)
1.14 KB,
application/zip
|
Details | |
668 bytes,
text/html
|
Details | |
326 bytes,
text/html
|
Details | |
419 bytes,
text/html
|
Details | |
1.46 KB,
text/html
|
Details | |
7.36 KB,
image/png
|
Details | |
613 bytes,
text/html
|
Details | |
4.93 KB,
patch
|
Details | Diff | Splinter Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Reporter | ||
Comment 1•7 years ago
|
||
Reporter | ||
Comment 2•7 years ago
|
||
Reporter | ||
Comment 3•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Comment 4•7 years ago
|
||
Reporter | ||
Comment 5•7 years ago
|
||
Updated•7 years ago
|
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 8•7 years ago
|
||
Updated•7 years ago
|
Comment 9•7 years ago
|
||
Comment 10•7 years ago
|
||
Reporter | ||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Assignee | ||
Comment 17•7 years ago
|
||
Reporter | ||
Comment 18•7 years ago
|
||
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Reporter | ||
Comment 21•7 years ago
|
||
Assignee | ||
Comment 22•7 years ago
|
||
Comment 23•7 years ago
|
||
Comment 24•7 years ago
|
||
Comment 25•7 years ago
|
||
Assignee | ||
Comment 26•7 years ago
|
||
Comment 27•7 years ago
|
||
Assignee | ||
Comment 28•7 years ago
|
||
Comment 29•7 years ago
|
||
Assignee | ||
Comment 30•7 years ago
|
||
Comment 31•7 years ago
|
||
Comment 33•6 years ago
|
||
Moving back to P1 because it's blocking another P1. Johann: can you finish off this bug and unblock bug 1435616?
Updated•6 years ago
|
Assignee | ||
Comment 34•6 years ago
|
||
Yup, sorry, this is overdue...
(Clearing NI for jkt as well, it's been a while)
Assignee | ||
Comment 35•6 years ago
|
||
![]() |
||
Comment 36•6 years ago
|
||
https://hg.mozilla.org/integration/autoland/rev/9ee0c8bc5a2f2d30d3a5e8170d01d98449bc07e8
https://hg.mozilla.org/mozilla-central/rev/9ee0c8bc5a2f
![]() |
||
Updated•6 years ago
|
Comment 37•6 years ago
|
||
I'm inclined to say that this can ride the trains. Do you agree, Johann?
Assignee | ||
Comment 38•6 years ago
|
||
Yeah, I agree, we shouldn't rush this. :)
Updated•6 years ago
|
Updated•6 years ago
|
Comment 39•6 years ago
•
|
||
Verifying this issue on latest Beta 67.0b3 on Windows 10 x64:
- installed the temporary PoC attached (replaced with keydown) and the prevent notification is not bypassed
- the xpi.html file provided in Comment 21 no longer bypasses the prevent notification
- new2.html file is also prevented from installing
- new3.html is prevented from installing
- new4.html which should cover the web extension install prompt may also be fixed as it no longer displays the message as in the attached screenshot. Now it will look like this https://imgur.com/a/bIetYDK, is this the intended fix?
Hopefully, I covered all the testcases that were provided by the reporter. Abdulrahman, could you please take a look again? Just to be sure... Will verify the rest of the OS afterward. Here is the link for the latest Beta that has this patch: http://archive.mozilla.org/pub/firefox/candidates/67.0b3-candidates/build1/
Reporter | ||
Comment 40•6 years ago
|
||
It does appear that all original PoC's are fixed on Beta 67.0b3, tested on windows 10 x64.
A few notes:
-
'new3.html' PoC, although the trick doesn't work anymore I did notice that the popup can still block the 'You are now in fullscreen' text. This could be another bug worth a seperate file.
-
PoC in Comment 21, 'xpi.html' - Although the original bug is fixed, there is still some way to trick a user into installing by having the user instead of holding down 'ALT+A' they would hold down 'ALT' and at the same time repeatedly press 'A', granted this is much more user interaction but worth noting I think.
I will do more testing and see if all is well and will make a new comment only if I find something.
Comment 41•6 years ago
|
||
Thanks Abdulrahman!
If you find any other scenario worth looking into, like the one from Comment 40, please file a new bug for it.
Verified - Fixed on Windows 10, Ubuntu 16.04 and Mac OSx (only the scenarios without the alt+a combination in respect for the missing key combination)
Comment 42•6 years ago
|
||
Requesting bounty consideration on behalf of the reporter.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•5 years ago
|
Updated•2 years ago
|
Updated•9 months ago
|
Description
•