Clickjacking of permission prompts for registerprotocol
Categories
(Toolkit :: PopupNotifications and Notification Bars, defect, P3)
Tracking
()
People
(Reporter: sas.kunz, Assigned: emz)
References
Details
(Keywords: csectype-clickjacking, reporter-external, sec-low, Whiteboard: [client-bounty-form][adv-main136+][adv-esr128.8+])
Attachments
(9 files, 2 obsolete files)
|
1.69 MB,
video/mp4
|
Details | |
|
455 bytes,
text/html
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr128+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr128+
|
Details | Review |
|
164 bytes,
text/plain
|
Details |
i found a vulnerability where user can fall for clickjacking to added register protocol permission
I tested on Firefox version 122.0a1 (2023-11-25) (64-bit)
steps to reproduce:
- open https://pwed.my.id/clickjack/registerprotocol.html or Open registerprotocol.html
- double click the "double click" button without moving the mouse then the register protocol will be added
Comment 2•2 years ago
|
||
The damage from this one is relatively low: it means the attacker can open a web page when such a protocol is clicked. There are very few protocols that other web pages are going to use. mailto: is the most likely, and typically that will only leak an email address (though in uncommon cases a mailto: link can be much more complex). One experience of it and the user will realize something is wrong and fix it.
This prompt is an info-bar like the popup-blocker one. It's definitely different code from the "panel" style prompts.
Comment 3•2 years ago
|
||
The severity field is not set for this bug.
:serg, could you have a look please?
For more information, please visit BugBot documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 5•1 year ago
•
|
||
Looks like we should add a security delay to the notification bar code: https://searchfox.org/mozilla-central/source/toolkit/content/widgets/notificationbox.js
Edit: apologies, I initially linked devtools code by mistake.
| Assignee | ||
Comment 6•1 year ago
|
||
| Assignee | ||
Comment 7•1 year ago
|
||
Comment 9•1 year ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8c9c618c737e
https://hg.mozilla.org/mozilla-central/rev/01a7a1c27f90
Comment 10•1 year ago
|
||
The patch landed in nightly and beta is affected.
:emz, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval. Also, don't forget to request an uplift for the patches in the regression caused by this fix.
- If no, please set
status-firefox136towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 11•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D235457
Updated•1 year ago
|
Comment 12•1 year ago
|
||
beta Uplift Approval Request
- User impact if declined: Users are vulnerable to clickjacking attacks using the notification box UI in Firefox. This UI is used by websites to ask permission for installing custom protocols.
- Code covered by automated testing: yes
- Fix verified in Nightly: no
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: -
- Risk associated with taking this patch: low
- Explanation of risk level: There is a low risk that we break the notification box buttons which may block users. The bug had a regression which we since fixed. The fix and the clickjacking functionality as a whole has good test coverage now.
- String changes made/needed: -
- Is Android affected?: no
| Assignee | ||
Comment 13•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D235457
Updated•1 year ago
|
Comment 14•1 year ago
|
||
esr128 Uplift Approval Request
- User impact if declined: Users are vulnerable to clickjacking attacks using the notification box UI in Firefox. This UI is used by websites to ask permission for installing custom protocols.
- Code covered by automated testing: yes
- Fix verified in Nightly: no
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: -
- Risk associated with taking this patch: low
- Explanation of risk level: There is a low risk that we break the notification box buttons which may block users. The bug had a regression which we since fixed. The fix and the clickjacking functionality as a whole has good test coverage now.
- String changes made/needed: -
- Is Android affected?: no
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 15•1 year ago
|
||
| uplift | ||
Updated•1 year ago
|
| Assignee | ||
Comment 16•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D235457
Updated•1 year ago
|
| Assignee | ||
Comment 17•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D235760
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 18•1 year ago
|
||
| uplift | ||
Comment 19•1 year ago
|
||
:emz could you add https://hg.mozilla.org/mozilla-central/rev/01a7a1c27f90 to the uplift stack here for ESR128?
Otherwise, there will be conflicts when later uplifting Bug 1946105
| Assignee | ||
Comment 20•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D235457
Updated•1 year ago
|
| Assignee | ||
Comment 21•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D235760
Updated•1 year ago
|
| Assignee | ||
Comment 22•1 year ago
|
||
Sorry, I missed that patch when requesting uplifts. The patch stack should be up to date now. Thanks!
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 23•1 year ago
|
||
| uplift | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 24•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Description
•