iframe contents can be arbitrarily drawn outside of iframe.
Categories
(Core :: Web Painting, defect)
Tracking
()
People
(Reporter: prada960808, Assigned: tnikkel)
References
(Regression)
Details
(Keywords: csectype-spoof, regression, sec-low, Whiteboard: [reporter-external] [client-bounty-form] [verif?][post-critsmash-triage][adv-main107+][adv-esr102.5+])
Attachments
(5 files)
Steps to reproduce:
- Download 'main.html' and 'iframe.html' in the same directory.
- open 'main.html' on Firefox 105.
Actual results:
The content in the iframe is arbitrarily drawn outside of the iframe.
Expected results:
The content in the iframe should not be drawn outside of the iframe.
Severity:
This is vulnerable because the iframe domain (i.e., attacker) can fully cover the page of the main frame (i.e., victim) with any images using CSS margin-left, margin-top, and background-image (or background).
Environment:
Version: Firefox 105.0b5
OS: ubuntu 20.04
How was this issue discovered?
I used my fuzzer to find this issue.
Reporter | ||
Comment 1•2 years ago
|
||
Reporter | ||
Comment 2•2 years ago
|
||
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Exactly like bug 1735265 except a frame other then the cell, between the
cell and the table frame is a stacking context.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 5•2 years ago
|
||
Set release status flags based on info from the regressing bug 1409114
Comment 6•2 years ago
|
||
Set clip on background items for table cols and colgroups, when the table row, rowgroup or table has captured clip. r=mstange
https://hg.mozilla.org/integration/autoland/rev/e9d6b6dc577aa1532c7a42b1a8e404db75457237
https://hg.mozilla.org/mozilla-central/rev/e9d6b6dc577a
Updated•2 years ago
|
Comment 7•2 years ago
|
||
The patch landed in nightly and beta is affected.
:tnikkel, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox106
towontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 8•2 years ago
|
||
I don't feel like we need to uplift this. If anyone thinks we do I can do it though.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 9•2 years ago
|
||
Please nominate this for ESR102 approval. It grafts cleanly.
Assignee | ||
Comment 10•2 years ago
|
||
Comment on attachment 9296926 [details]
Bug 1792643. Set clip on background items for table cols and colgroups, when the table row, rowgroup or table has captured clip. r?mstange
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: sec-low, should be a pretty safe fix
- User impact if declined: sec-low, attacker can draw outside of iframe contents
- Fix Landed on Version: 107
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): pretty straight forward extension of a fix that's been on release for a while now with no regressions
Comment 11•2 years ago
|
||
Comment on attachment 9296926 [details]
Bug 1792643. Set clip on background items for table cols and colgroups, when the table row, rowgroup or table has captured clip. r?mstange
Approved for 102.5esr.
Comment 12•2 years ago
|
||
uplift |
Updated•2 years ago
|
Updated•2 years ago
|
Comment 13•2 years ago
|
||
Verified as fixed on Windows 10 x64, macOS 11.6 and on Ubuntu 20.04 x64.
Comment 14•2 years ago
|
||
Verified as fixed on Firefox 102.5esr on Windows 10 x64, macOS 11.6 and on Ubuntu 20.04 x64.
Updated•2 years ago
|
Comment 15•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•1 years ago
|
Description
•