Content Process can forge System Principal in Drag and Drop
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, enhancement)
Tracking
()
People
(Reporter: tjr, Assigned: ltenenbaum)
References
(Blocks 2 open bugs)
Details
(Keywords: csectype-priv-escalation, sec-moderate, Whiteboard: [adv-main154+r][adv-esr153.1+r][adv-esr140.14+r])
Comment 1•8 years ago
|
||
Comment 2•5 years ago
|
||
I guess we need to look at all the principal handling on IPC level.
| Reporter | ||
Updated•5 years ago
|
| Reporter | ||
Updated•5 years ago
|
| Reporter | ||
Comment 3•5 years ago
|
||
Thinking about this more, I don't think this can be abused as a sandbox escape, but I'd like a second opinion about what the consequences of this issue could be so we can triage it appropriately. Neil, would you be able to weigh in, or pass to someone?
Comment 4•5 years ago
|
||
we should assert
that the Principal corresponds to the origin the content process is serving.
(But that may be a followup bug under fission-ipc)
The principal is only supplied at one place at https://searchfox.org/mozilla-central/rev/2e3b0483e31abffe0b4374480a34c6d23f5186ea/dom/ipc/BrowserParent.cpp#3723 so we should be able to verify at that spot that the principal is accessible from the corresponding child process. Content processes would only be adding data from the principal of the node the drag started on. For starting a drag however, it should not be using the system principal though. I'm not clear from the description above if/where this is happening.
Updated•4 years ago
|
Comment 9•3 months ago
|
||
Fixed in bug 2054665.
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•16 days ago
|
Description
•