News for hackers. Stuff that matters.
Re:Firefox rolls out Total Cookie Protection by default to a... by ravenstine on Tuesday June 14, 2022 @09:57AM (#31739584)
There are legit cross-domain use cases. A good example is how someone here mentioned (comment seems deleted though) account sessions being shared between Atlassian products like JIRA and BitBucket.

The problem with that is domains are a poor way of representing ownership that can be trusted. If the web was rebuilt from scratch, a better approach might be to allow cookies to be shared between secure sites using the same certificate. But that adds more complexity that I'm not sure is worthwhile. The web can absolutely get away with not having shared cookies.

Re:Firefox rolls out Total Cookie Protection by default to a... by notriddle on Tuesday June 14, 2022 @11:15AM (#31740710)
There’s no technical reason why this has to be hard. If jira was at jira.atlassian.com and bitbucket was bitbucket.atlassian.com, they would have the same origin, plus they would make the relationship between them visible to any moderately savvy user. It’s only complicated because they allow their marketing dept to make it complicated.
Re:Firefox rolls out Total Cookie Protection by default to a... by filmgirlcw on Tuesday June 14, 2022 @11:29AM (#31740938)
I think that’s unfair. By tying things to domains that way, you also make it potentially difficult to change URL structure (look at how long the various go.com domains lasted across all Disney/ABC properties. I know of teams that had very real problems years later b/c the infra was still based on domain stuff that was setup 15 years prior when the parent company thought internet portals were worth spending billions on), not to mention if you want to spin-off or sell an asset. Or if you acquire an asset!

To say nothing of SSOs, where you might not want to carry your login across, but you’d like to have the option of saying “yes, I’d like to use this account here too” and then authenticate.

Re:Firefox rolls out Total Cookie Protection by default to a... by Macha on Tuesday June 14, 2022 @06:17PM (#31746725)
Also if you sign into Google, notice you bounce through YouTube for what I assume to be similar reasons
Re:Firefox rolls out Total Cookie Protection by default to a... by oefrha on Tuesday June 14, 2022 @11:22AM (#31740804)
You do realize acquisitions occur?
Re:Firefox rolls out Total Cookie Protection by default to a... by abdullahkhalids on Tuesday June 14, 2022 @03:40PM (#31744934)
Business operation complications are not a valid reason for the violation of the rights of humans.
Re:Firefox rolls out Total Cookie Protection by default to a... by Thorrez on Wednesday June 15, 2022 @01:45AM (#31749510)
Cross-domain cookies are a tool that can be used for good or bad. It's a tradeoff to block them or not block them.
Re:Firefox rolls out Total Cookie Protection by default to a... by notriddle on Tuesday June 14, 2022 @11:49AM (#31741196)
So use a 301 redirect.
Re:Firefox rolls out Total Cookie Protection by default to a... by dylan604 on Tuesday June 14, 2022 @11:46AM (#31741162)
you do realize reorganization occur after acquisitions?
Re:Firefox rolls out Total Cookie Protection by default to a... by vman81 on Tuesday June 14, 2022 @10:39AM (#31740205)
There are also legit use cases for leaving all your doors unlocked. But they usually aren't really worth considering when you are installing your doors/locks.
Re:Firefox rolls out Total Cookie Protection by default to a... by Groxx on Tuesday June 14, 2022 @11:21AM (#31740790)
Isn't this solved with a login redirect? Just return a signed ID and set up cookies on the other end with that. Granted, it's one more redirect per domain than before per login period, but that's hardly onerous.

Domains that want to collaborate together can still do so.

Re:Firefox rolls out Total Cookie Protection by default to a... by Thorrez on Wednesday June 15, 2022 @02:14AM (#31749685)
> allow cookies to be shared between secure sites using the same certificate

In some ways that will be less strict than Firefox's implementation. A CDN might have a certificate with hundreds of unrelated sites in it.

In some ways that will be more strict than Firefox's implementation. A site might want to serve large static files on static.foo.com but a secure login page on login.foo.com , and want to hand over the private key for static.foo.com to a CDN but not hand over the private key for login.foo.com .

Re:Firefox rolls out Total Cookie Protection by default to a... by layer8 on Tuesday June 14, 2022 @11:10AM (#31740628)
> allow cookies to be shared between secure sites using the same certificate

Or maybe encrypting cookies using the site certificate, which would still allow cookies to be shared with domains having a different certificate, but the server needs the correct key for decryption.

Re:Firefox rolls out Total Cookie Protection by default to a... by Thorrez on Wednesday June 15, 2022 @02:24AM (#31749743)
Sounds like it'll make key rotation tricky.

Also it'll likely break javascript access to the cookies.

Re:Firefox rolls out Total Cookie Protection by default to a... by exo762 on Tuesday June 14, 2022 @11:13AM (#31740679)
Ciphertext leaks information via its size and its presence / absence.
Re:Firefox rolls out Total Cookie Protection by default to a... by dylan604 on Tuesday June 14, 2022 @11:49AM (#31741191)
yeah and so? how is this information useful? if the actual useful information is encrypted, then size is meaningless as it is just random text until decrypted. presence/absence? you have a cookie or you don't?
Re:Firefox rolls out Total Cookie Protection by default to a... by recursive on Tuesday June 14, 2022 @11:51AM (#31741217)
You say the size is meaningless. But sometimes it may actually be meaningful. And presence/absence is information also. Not much, but it definitely exists.
Re:Firefox rolls out Total Cookie Protection by default to a... by dylan604 on Tuesday June 14, 2022 @01:38PM (#31743027)
In what way? If I'm storing 255 bytes of username/email/credentials/settings/etc, but pad in some fun way to 512 bytes prior to encryption, what in the world does knowing that the cookie is 512 bytes do you? You have no idea what data is stored. You don't know if there are 512 bytes of actual data, 128 bytes with lots of fluff, or anything at all other than 512 bytes. Hell, it could be 0 bytes of data and 512 bytes of random data that I submit to every single person that visits the site just to fuck with people like you! You seem like you need something to do ;-)
Re:Firefox rolls out Total Cookie Protection by default to a... by recursive on Tuesday June 14, 2022 @04:13PM (#31745425)
If the contents of the cookie is a JSON array of recently viewed items, then the size is correlated to whether I've been actively viewing items recently.

Adding random padding makes it harder to get a signal, but with a high enough sample size, it's still possible to get some information. If you always pad to a fixed size, then there's probably no useful information.

At the moment, I think I have enough to do, but I'll probably be looking for something new in the next few weeks. Got any novel single player video game recommendations?

Re:Firefox rolls out Total Cookie Protection by default to a... by dylan604 on Tuesday June 14, 2022 @06:17PM (#31746722)
>If

That's are really big word in that sentence. You have NO idea, like 0, what is stored in an encrypted cookie. To even think you do is just pure folly.

Re:Firefox rolls out Total Cookie Protection by default to a... by vntok on Friday June 17, 2022 @06:33PM (#31785302)
This is a very simplistic way of looking at things. A lot of the times in security, having an idea of what's not in there can be almost as valuable as having an idea of what's in there.

I will provide a very simple counterpoint to your argument: say I log in, log out and log in again, dumping my two encrypted session cookies in between. If they are perfectly identical, then knowing nothing else about the environment nor the encryption used, I already know that there's no timestamp value in the cookie acting as a time barrier, nor a challenge-response check, nor a nonce value.

Knowing that, I can focus my attention on stealing session cookies from users for trying replay attacks.

Re:Firefox rolls out Total Cookie Protection by default to a... by recursive on Tuesday June 14, 2022 @07:10PM (#31747130)
I do have ideas. I can strengthen them by reverse-engineering the behavior using my own account. I participate in follies regularly, so that's not a strong disincentive for me.