Closed
Bug 1005636
Opened 12 years ago
Closed 7 years ago
XPI install can be covered by a window.showmodaldialog
Categories
(Core :: Security, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jordi.chancel, Unassigned)
References
()
Details
(Keywords: csectype-spoof, reporter-external, sec-low)
Attachments
(3 files, 3 obsolete files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20140421221237
Steps to reproduce:
when you load localy a windows that lead to an XPI install and you load after a window.showmodaldialog that cover it you can install it with just press ENTER.
steps:
1 : click on the button into the poc
2 : PRESS ENTER DIRECTLY.
Actual results:
XPI is Installed
Expected results:
cover XPI install by window.showmodaldialog is wrong.
| Reporter | ||
Comment 1•12 years ago
|
||
TESTED ON MAC ONLY.
| Reporter | ||
Comment 2•12 years ago
|
||
Attachment #8417030 -
Attachment is obsolete: true
| Reporter | ||
Updated•12 years ago
|
Summary: (local attack) XPI Install cover by window.showmodaldialog , just need press ENTER for install it. → (MAC OS X)(local attack) XPI Install cover by window.showmodaldialog , just need press ENTER for install it.
| Reporter | ||
Comment 3•12 years ago
|
||
this issue don't works on WINDOWS.
Updated•12 years ago
|
Component: General → Security
Updated•12 years ago
|
Attachment #8417031 -
Attachment mime type: application/zip → application/java-archive
| Reporter | ||
Updated•12 years ago
|
| Reporter | ||
Updated•12 years ago
|
Whiteboard: (local attack) you must open it localy.
Comment 4•12 years ago
|
||
As Jordi says in the whiteboard, this only works locally on Mac, as far as we know.
Seems that keyboard input is not directed to the foremost spawned window, but to the XPI install dialog behind it.
Updated•12 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Reporter | ||
Comment 5•11 years ago
|
||
- I have reported a new bug more or less similar to this bug : https://bugzilla.mozilla.org/show_bug.cgi?id=1008652 but with this new vulnerability it's possible to make a spoofing remotely.
- Please View Bug1008652 .
I am going to close 1008652 as a dupe of this bug and merge the info, these are so similar in scope that there is no point in 2 bugs
Notes from Bug 1008652 of relevance
* youtube private video => https://www.youtube.com/watch?v=xGeF8d18oiQ&feature=youtu.be
Updated•11 years ago
|
Keywords: csectype-spoof
Summary: (MAC OS X)(local attack) XPI Install cover by window.showmodaldialog , just need press ENTER for install it. → Auth Dialog can be covered by a window.showmodaldialog
Whiteboard: (local attack) you must open it localy.
Attachment #8417031 -
Attachment is obsolete: true
Updated•11 years ago
|
Flags: sec-bounty?
per https://wiki.mozilla.org/Security_Severity_Ratings
> sec-low
> Minor security vulnerabilities such as leaks or spoofs of non-sensitive information. Missing best
> practice security controls
I am rating this bug as a low
Keywords: sec-low
| Reporter | ||
Updated•11 years ago
|
Summary: Auth Dialog can be covered by a window.showmodaldialog → (local attack) XPI install can be covered by a window.showmodaldialog
| Reporter | ||
Comment 11•11 years ago
|
||
I think it's not low , localy this attack can execute arbitrary code with just one click and press ENTER.
While that may be the case first you have to get the user to go to the arbitrary site, then get them to download the file then run it locally and then get them to follow the proper steps to be exploited. Given all that user interaction I think the rating of low is appropriate, however, as always others will weigh in.
We'd also appreciate it if you would stop editing the fields of the bug after we do, this affects our workflow and bug handling and will only delay any necessary work we need to accomplish. We appreciate your comments and input and we do consider them when we make changes to ratings and other sections.
Summary: (local attack) XPI install can be covered by a window.showmodaldialog → XPI install can be covered by a window.showmodaldialog
| Reporter | ||
Comment 13•11 years ago
|
||
- Sorry for trouble.
I have found a more critical (sg:moderate i think) attack using this bug. it's very similar to bug884488 in all point.
I think that the new appropriate severity is Moderate now.
I will make a private video and post the new testcase for show the real severity of this bug.
Can you reply quickly for say if i have reason or not please?
Thank you very much.
| Reporter | ||
Comment 14•11 years ago
|
||
New Testcase!
| Reporter | ||
Comment 15•11 years ago
|
||
(In reply to Jordi Chancel from comment #13)
> - Sorry for trouble.
>
> I have found a more critical (sg:moderate i think) attack using this bug.
> it's very similar to bug884488 in all point.
>
> I think that the new appropriate severity is Moderate now.
>
> I will make a private video and post the new testcase for show the real
> severity of this bug.
>
> Can you reply quickly for say if i have reason or not please?
>
> Thank you very much.
Look this video : https://www.youtube.com/watch?v=7YVAuDe1Lkc&feature=youtu.be
It's still a local only attack on mac only, while the elements here look a bit more real you can still see the window controls and drop shading of the covering box. But the reality of this rating is that it's dependent on the first part mentioned in comment 12. You have to get the user to take a good number of steps before you can even start the attack and for that reason this rating should not change.
Comment 17•11 years ago
|
||
We know these dialogs need work, and we're going to be removing/changing them. Reporting variations based on known-to-be-broken UI isn't going to be severe enough to earn more bounties unless there's something novel.
Flags: sec-bounty? → sec-bounty-
| Reporter | ||
Comment 19•11 years ago
|
||
I've sent a mail today about the severity of this testcase.
Attachment #8426851 -
Attachment is obsolete: true
Updated•10 years ago
|
Group: core-security → dom-core-security
Comment 20•7 years ago
|
||
bug 1374460 documents showModalDialog as having been disabled by default in 56 and code removed later on, so this is WFM.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Updated•6 years ago
|
Group: dom-core-security
Updated•1 year ago
|
Keywords: reporter-external
You need to log in
before you can comment on or make changes to this bug.
Description
•