Subdomain takeover is a real risk most developers and even many security reviewers aren't aware of, but if you are aware enough to try to mitigate you should properly scope cookies...
-
-
-
Replying to @RichFelker @__b_c
So subdomain takeover looks like the big one, and whether the tradeoffs of token binding are worth it seems to depend on how hard it is to fix poorly scoped cookies.
1 reply 0 retweets 1 like -
Replying to @RichFelker
there are, of course, all kinds of protections available to prevent cookie theft. Token binding is unique in that it can prevent use after theft rather than trying to stop the theft itself. Both have value. Defence in depth etc. Token Binding also ...
1 reply 0 retweets 0 likes -
Replying to @__b_c @RichFelker
... can apply to things like OAuth and SSO tokens, which don't necessarily have the same characteristics as cookies. The browser case is maybe less compelling b/c of other cookie protections. But it's still useful IMHO. And, for better or worse, ...
1 reply 0 retweets 1 like -
Replying to @__b_c @RichFelker
adoption and deployment at large likely hinges on the browser supporting it
1 reply 0 retweets 0 likes -
Replying to @__b_c @RichFelker
But you dodged Rich's main point, it has to be an attack that can't just be exploited using the same vector you used to get the cookie, right? Subdomain takeover is the first example I've heard that works, but that's pretty niche, you have to admit?
4 replies 0 retweets 3 likes -
Rich Felker Retweeted hanno
I think subdomain takeover is actually a much bigger threat than many ppl realize. IIRC
@hanno has some nice work on this. Seehttps://twitter.com/hanno/status/1021350234117599234 …Rich Felker added,
2 replies 0 retweets 2 likes -
It's a real attack for sure, but.... Is token binding the correct solution? It really feels like "no" to me, but maybe there's a convincing argument I haven't heard.
2 replies 0 retweets 1 like -
The right solution is not using wildcard-scoped cookies and instead doing SSO-like cross-subdomain auth only in one direction. But this is heavy retrofitting. I think the idea is that token binding provides a lazy fix...
1 reply 0 retweets 0 likes
But my impression is that token binding is more about building/fitting into a Windows-AD-like ecosystem and being a nuisance against exercising control over your own auth tokens than about improving security.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.