Skip to content
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

Attacks on credentialed cross-site resources that aren't fully mitigated through CORS #30

Open
johannhof opened this issue Mar 20, 2023 · 0 comments

Comments

@johannhof
Copy link
Member

This proposal uses CORS as a primary measure to protect embedded subresources from being attacked through credentialed requests (primarily cross-site leaks) in browsers that have cross-site cookies blocked. Because blocking cross-site cookies isn't the default in all browsers, developers currently have to mitigate these attacks through other means, but it's reasonable to expect a shift in the platform to improve security as much as possible and also to come with a mindset shift for developers that will get less diligent about edge cases like rSAFor grants. This is also the motivation for the existing CORS requirement.

As such, it seems reasonable to consider attacks that aren't (fully) mitigated through requiring CORS, such as CSRF or response-time leaks on CORS-enabled requests (@arturjanc mentioned this to me and I hope I'm remembering it right). Similar to #29, it would be good to enable a mechanism that allows for better opt-in by the third party for enabling rSAFor on the first party.

cc @arturjanc @annevk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant