Skip to content

Commit 65262d0

Browse files
committed
Expanding on the risks of embedded frames. Closes w3c#3.
h/t @camillelamy
1 parent b5540d7 commit 65262d0

File tree

2 files changed

+20
-11
lines changed

2 files changed

+20
-11
lines changed

index.bs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ urlPrefix: https://tc39.es/ecma262/; spec: ECMA262; type: interface
134134
"href": "https://github.com/annevk/orb",
135135
"title": "Opaque Response Blocking (ORB, aka CORB++)",
136136
"authors": [ "Anne van Kesteren" ]
137+
},
138+
"oopif": {
139+
"href": "https://www.chromium.org/developers/design-documents/oop-iframes",
140+
"title": "Out-of-Process iframes (OOPIFs)",
141+
"authors": [ "Chromium" ]
137142
}
138143
}
139144
</pre>
@@ -190,12 +195,13 @@ The following seems like a good place to start:
190195
4. User agents cannot yet consistently seperate framed origins into processes distinct from their
191196
embedders' origin.
192197

193-
Note: Though some user agents support out-of-process frames, no agent supports it consistently
194-
across a broad range of devices and platforms. Ideally this will change over time, as the
195-
frame boundary *ought* to be one we can eventually consider robust.
198+
Note: Though some user agents support out-of-process frames [[OOPIF]], no agent supports it
199+
consistently across a broad range of devices and platforms. Ideally this will change over time,
200+
as the frame boundary *must* be one we can eventually consider robust.
196201

197202
With this in mind, our general assumption will be that an origin gains access to any resource which
198-
it renders (including images, stylesheets, scripts, frames, etc).
203+
it renders (including images, stylesheets, scripts, frames, etc). Likewise, embedded frames gain
204+
access to their ancestors' content.
199205

200206
ISSUE: [[COI-THREAT-MODEL]] spells out more implications. Bring them in here for more nuance.
201207

index.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@
14861486
</style>
14871487
<meta content="Bikeshed version c5172e83, updated Fri Nov 20 15:35:20 2020 -0800" name="generator">
14881488
<link href="https://mikewest.github.io/post-spectre-webdev/" rel="canonical">
1489-
<meta content="ed11a2d628efeb89c6b15fe0bc31751f3af90475" name="document-revision">
1489+
<meta content="b5540d7b5844f99a1e1011bcfe25f082a9df641c" name="document-revision">
14901490
<style>/* style-autolinks */
14911491

14921492
.css.css, .property.property, .descriptor.descriptor {
@@ -2043,7 +2043,7 @@
20432043
<div class="head">
20442044
<p data-fill-with="logo"></p>
20452045
<h1 class="p-name no-ref" id="title">Post-Spectre Web Development</h1>
2046-
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">A Collection of Interesting Ideas, <time class="dt-updated" datetime="2021-02-17">17 February 2021</time></span></h2>
2046+
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">A Collection of Interesting Ideas, <time class="dt-updated" datetime="2021-02-18">18 February 2021</time></span></h2>
20472047
<div data-fill-with="spec-metadata">
20482048
<dl>
20492049
<dt>This version:
@@ -2058,7 +2058,7 @@ <h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="cont
20582058
<div data-fill-with="warning"></div>
20592059
<p class="copyright" data-fill-with="copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="https://licensebuttons.net/p/zero/1.0/80x15.png"></a> To the extent possible under law, the editors have waived all copyright
20602060
and related or neighboring rights to this work.
2061-
In addition, as of 17 February 2021,
2061+
In addition, as of 18 February 2021,
20622062
the editors have made this specification available under the <a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
20632063
which is available at http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0.
20642064
Parts of this work may be from another specification document. If so, those parts are instead covered by the license of that specification document. </p>
@@ -2156,12 +2156,13 @@ <h3 class="heading settled" data-level="1.1" id="threat-model"><span class="secn
21562156
<li data-md>
21572157
<p>User agents cannot yet consistently seperate framed origins into processes distinct from their
21582158
embedders' origin.</p>
2159-
<p class="note" role="note"><span>Note:</span> Though some user agents support out-of-process frames, no agent supports it consistently
2160-
across a broad range of devices and platforms. Ideally this will change over time, as the
2161-
frame boundary <em>ought</em> to be one we can eventually consider robust.</p>
2159+
<p class="note" role="note"><span>Note:</span> Though some user agents support out-of-process frames <a data-link-type="biblio" href="#biblio-oopif">[OOPIF]</a>, no agent supports it
2160+
consistently across a broad range of devices and platforms. Ideally this will change over time,
2161+
as the frame boundary <em>must</em> be one we can eventually consider robust.</p>
21622162
</ol>
21632163
<p>With this in mind, our general assumption will be that an origin gains access to any resource which
2164-
it renders (including images, stylesheets, scripts, frames, etc).</p>
2164+
it renders (including images, stylesheets, scripts, frames, etc). Likewise, embedded frames gain
2165+
access to their ancestors' content.</p>
21652166
<p class="issue" id="issue-340f57a5"><a class="self-link" href="#issue-340f57a5"></a> <a data-link-type="biblio" href="#biblio-coi-threat-model">[COI-THREAT-MODEL]</a> spells out more implications. Bring them in here for more nuance.</p>
21662167
<h3 class="heading settled" data-level="1.2" id="tldr"><span class="secno">1.2. </span><span class="content">TL;DR</span><a class="self-link" href="#tldr"></a></h3>
21672168
<ol>
@@ -2618,6 +2619,8 @@ <h3 class="no-num no-ref heading settled" id="informative"><span class="content"
26182619
<dd>Charlie Reis; Camille Lamy. <a href="https://docs.google.com/document/d/1Ey3MXcLzwR1T7aarkpBXEwP7jKdd2NvQdgYvF8_8scI/edit">Cross-Origin-Opener-Policy Explainer</a>. 2020-05-24. URL: <a href="https://docs.google.com/document/d/1Ey3MXcLzwR1T7aarkpBXEwP7jKdd2NvQdgYvF8_8scI/edit">https://docs.google.com/document/d/1Ey3MXcLzwR1T7aarkpBXEwP7jKdd2NvQdgYvF8_8scI/edit</a>
26192620
<dt id="biblio-long-term-mitigations">[LONG-TERM-MITIGATIONS]
26202621
<dd>Charlie Reis. <a href="https://docs.google.com/document/d/1dnUjxfGWnvhQEIyCZb0F2LmCZ9gio6ogu2rhMGqi6gY/edit">Long-Term Web Browser Mitigations for Spectre</a>. 2019-03-04. URL: <a href="https://docs.google.com/document/d/1dnUjxfGWnvhQEIyCZb0F2LmCZ9gio6ogu2rhMGqi6gY/edit">https://docs.google.com/document/d/1dnUjxfGWnvhQEIyCZb0F2LmCZ9gio6ogu2rhMGqi6gY/edit</a>
2622+
<dt id="biblio-oopif">[OOPIF]
2623+
<dd>Chromium. <a href="https://www.chromium.org/developers/design-documents/oop-iframes">Out-of-Process iframes (OOPIFs)</a>. URL: <a href="https://www.chromium.org/developers/design-documents/oop-iframes">https://www.chromium.org/developers/design-documents/oop-iframes</a>
26212624
<dt id="biblio-orb">[ORB]
26222625
<dd>Anne van Kesteren. <a href="https://github.com/annevk/orb">Opaque Response Blocking (ORB, aka CORB++)</a>. URL: <a href="https://github.com/annevk/orb">https://github.com/annevk/orb</a>
26232626
<dt id="biblio-post-spectre-rethink">[POST-SPECTRE-RETHINK]

0 commit comments

Comments
 (0)