-
Notifications
You must be signed in to change notification settings - Fork 28
Sec-Fetch-Dest is not trustworthy #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
That's an interesting point! Do you think browsers will be able to give more assurances about There are two main uses that we've been thinking about for the
FWIW we might be okay if we consider the scope of Sec-Metadata to only cover web attacks, rather than compromised renderers. Most of the security decisions will likely be made by servers based on the @mikewest, would it make sense to have a non-normative note about this in the spec? |
Yes! It should be possible to for the supervisor/browser-process to know and enforce the difference between I am not sure if the difficulty here is fundamental or potentially solvable in the future. Consider an attacker that injects an
Would it be possible to explicitly account for these in |
Given the way the conversation has moved, this feels like a duplicate of #16. Marking it as such. |
Sec-Fetch-Dest seems less trustworthy than other headers proposed in https://mikewest.github.io/sec-metadata. Browsers with Site Isolation can ensure that
Sec-Fetch-Mode
,Sec-Fetch-Site
,Sec-Fetch-User
are trustworthy (i.e. ensure that an attacker can't spoof these headers even if the attacker is able to exploit a bug in the renderer process to gain ability to execute arbitrary code within the renderer's sandbox). In contrast, the values ofSec-Fetch-Dest
header are somewhat untrustworthy.What is the utility and value of the Sec-Fetch-Dest header? Some values of the
Sec-Fetch-Dest
header are somewhat redundant wrt Sec-Fetch-Mode (i.e. AFAICTdocument
andnested-document' destinations will always be associated with
navigate` mode).The text was updated successfully, but these errors were encountered: