Fighting cookie theft using device bound sessions (blog.chromium.org)
from neme@lemm.ee to technology@lemmy.world on 03 Apr 2024 00:29
https://lemm.ee/post/28533245

#technology

threaded - newest

blackfire@lemmy.world on 03 Apr 2024 07:01 next collapse

This is an incredibly important step forward but I have to wonder why its taken this long to come up with.

CaptainBasculin@lemmy.ml on 03 Apr 2024 07:04 next collapse

Isn’t this what WebAuthn already does? Why introduce a new protocol when another one does the job well?

dracs@programming.dev on 03 Apr 2024 09:18 collapse

I don’t think WebAuthn protects against cookie theft. WebAuthn better protects the login process. But if the result of the login process is still a session/auth cookie, that can be stolen like any other cookie.

Boomkop3@reddthat.com on 03 Apr 2024 09:27 next collapse

That took forever to implement, almost as if someone had stake in not doing this

bitfucker@programming.dev on 03 Apr 2024 10:27 collapse

Be careful since it is a double edged sword. Device bound session means the browser has the capabilities to differentiate devices, and thus can be used for more accurate tracking information. Of course I’m not saying it is not useful, having created a fair share of websites myself, I know the pain of authentication on the web and how it can be challenging to secure from tons of possible attack vectors. And in my experience, the weakest link is always the user.

dev_null@lemmy.ml on 03 Apr 2024 11:11 collapse

the browser has the capabilities to differentiate devices

The browser can do it whether this exists or not. The only information the website gets is that the browser supports this feature or not, and nothing else.

bitfucker@programming.dev on 03 Apr 2024 12:38 collapse

My bad, I worded that badly. What I meant is that the website now has access to those features via the browser (js or some other mechanism). Now suddenly fingerprinting a device can be made easier.

dev_null@lemmy.ml on 03 Apr 2024 12:52 collapse

That’s a valid concern, but according to the article all the website can access is the random public key, or the fact that the feature is unsupported in this browser (for an unspecified reason).

bitfucker@programming.dev on 03 Apr 2024 14:09 collapse

Yeah, I’ve also read the article. I am just being cautious on how it can be used for other things that cause privacy concern. And so far, I’ve come up blank too.