News for hackers. Stuff that matters.
Re:Re: The Spirit of Free Software, or the Reality by Manishearth on Tuesday July 14, 2015 @11:15PM (#9889518)
I'm pretty sure that these get requests don't even fetch with cookies, so fingerprinting is probably impossible here. The most info they can get is "hey, this ip uses Firefox". Harmless in itself. It can be compounded with more info to track someone, but all of this info already contains IP/browser info so this doesn't help at all.
Re:Re: The Spirit of Free Software, or the Reality by pdkl95 on Wednesday July 15, 2015 @02:58AM (#9890083)
> Harmless in itself.

If I had to summarize the bad security design that is epidemic in the software industry, this would be a good candidate. Security is about always being vigilant and minimizing potential risks, and not the roughly boolean categorization that most people use, where everything judged "safe" or "unsafe".

TL;DR - Stop using "default allow"!

You would think that programmers (and engineers in general) would understand that understand how small, simple pieces can become incredibly useful when you find a clever way to combine them. Unfortunately, the lesson of "information hiding" - and all of the stuff we derive from it, like {object,aspect}-oriented programming and other encapsulation techniques - end up being ignored when discussing security.

Applied to web browsers, the burden of proof should be to justify why a request is both necessary and safe. The "necessary" criteria is important, because we do not know how this data could be combined in the future, possibly in damaging ways. A good example of this is how the NSA uses Google's PREF cookies[1] to track sessions. Another example is panopticlick-style browser fingerprinting, where every bit leaked can make the fingerprint more accurate.

The fact that this is about favicons is a perfect demonstration of how this "default allow" attitude. Not only is that not necessary, it can be supplied with the browser[2], completely removing the need for any GET request. Minimizing external requests isn't even considered.

[1] https://www.washingtonpost.com/blogs/the-switch/wp/2013/12/1...

[2] copyright and trademark are poor excuses - if the search engine wants to be in the default set of search tools provided by the browser, they can trivially authorize the redistribution of a a simple icon.

Re:Re: The Spirit of Free Software, or the Reality by patzerhacker on Wednesday July 15, 2015 @10:35AM (#9891439)
>copyright and trademark are poor excuses - if the search engine wants to be in the default set of search tools provided by the browser, they can trivially authorize the redistribution of a a simple icon

Debian's policy does not allow them to accept "special dispensation" for copyright and trademark permission - either everyone has to get it or Debian can't accept. This is part of why Iceweasel was split from Firefox in the first place:

Per the Debian social contract:

>License Must Not Be Specific to Debian

>_The rights attached to the program must not depend on the program's being part of a Debian system._ If the program is extracted from Debian and used or distributed without Debian but otherwise within the terms of the program's license, all parties to whom the program is redistributed should have the same rights as those that are granted in conjunction with the Debian system.

Re:Re: The Spirit of Free Software, or the Reality by pdkl95 on Wednesday July 15, 2015 @11:17AM (#9891717)
Why would you assume that such permission would be "special" to Debian? It's an icon. There is zero reason for a search engine to restrict such use (and distribution).
Re:Re: The Spirit of Free Software, or the Reality by patzerhacker on Wednesday July 15, 2015 @04:27PM (#9893850)
>There is zero reason for a search engine to restrict such use (and distribution).

Because these logos depict their trademarked images, and the licensing that they'd offer would likely not allow use for any purpose. Debian's social policy requires that everything included in their distribution be freely licensed for any use.

Re:Re: The Spirit of Free Software, or the Reality by pdkl95 on Thursday July 16, 2015 @02:49AM (#9895752)
> and the licensing that they'd offer would likely not allow use for any purpose

Then they don't want to be in the default set of search providers. Seriously, has the art of negotiating been lost completely? Google/Yahoo/etc need that strategic placement far more than they need to enforce some minor point about their logo's trademark. Debian's social policy doesn't mena they have to let themselves be browbeat by businesses without even an attempt at negotiating.

Do you really think Google or Yahoo would just say, "No, we don't care about being in Firefox/Iceweasel's default search list."? Would their shareholders be happy about losing market share over want of a trivial licence?

Re:Re: The Spirit of Free Software, or the Reality by patzerhacker on Monday July 27, 2015 @12:44PM (#9956309)
>Do you really think Google or Yahoo would just say, "No, we don't care about being in Firefox/Iceweasel's default search list"?

Given that they haven't freely licensed their images and this has been an issue for some time I'm going to have to say the answer is "yes" because Firefox/Iceweasel download the missing images on startup.

Re:Re: The Spirit of Free Software, or the Reality by Manishearth on Wednesday July 15, 2015 @03:19AM (#9890134)
> simple pieces can become incredibly useful when you find a clever way to combine them

Here's the thing. There's nothing to combine this info with that doesn't already have this info. IP+User agent. This info is sent with every request and any other gathering of data will contain these anyway.

So it's not just harmless in itself, it's harmless, period.

How is this different from OCSP pings and stuff like that?

Re:Re: The Spirit of Free Software, or the Reality by pdkl95 on Wednesday July 15, 2015 @11:36AM (#9891861)
I find it difficult to believe you cannot answer that question on your own.

The difference is that OCSP provides a needed service, the very purpose being related to a TLS connection that the user requested. Checking the CRL is an important part of the TLS security process, and it would be stupid to ignore it.

A favicon provides no security benefit, and is entirely optional.

Yes, it may be true that making a GET request for both a CRL and a favicon might leak more or less the information. That isn't relevant, and misses the point entirely about minimizing the network. We don't know what data is useful. It is entirely possible that the situation can change in the future and previously harmless data can become a part of something greater.

Minimizing network use to what is necessary is an implementation of the "default deny" policy, and it is the only sane security policy because we cannot predict the future. Enumerating badness[1] is always going to end up playing catch-up.

[1] http://www.ranum.com/security/computer_security/editorials/d...

Re:Re: The Spirit of Free Software, or the Reality by Manishearth on Wednesday July 15, 2015 @01:47PM (#9892874)
I was talking about the safe browsing request. Arguably that's even more important to the average user than TLS safety. MITMs are rare, malware sites are plenty.

I do think that the favicons could just be integrated.

I don't think there's any point minimizing the network in this specific case. "We don't know what data is useful.", sure, but any other data this can be compounded with _already contains the same information_.

Though yes, stuff could change in the future. I can't see how it could change in any way to make this useful, but you're right, this isn't something we can predict. That point is valid.

Re:Re: The Spirit of Free Software, or the Reality by rando289 on Wednesday July 15, 2015 @01:07AM (#9889813)
> Harmless in itself.

Since we know NSA is reading this, it's telling them that you (and they have a good idea who you are if you are connecting from a residential line) just launched your browser. I'd say that's pretty intrusive.

Re:Re: The Spirit of Free Software, or the Reality by boombip on Wednesday July 15, 2015 @01:26AM (#9889856)
Really? Aren't you going to use the browser in about 5 seconds? I'm sure the NSA cares that I checked my mailbox yesterday as well.
Re:Re: The Spirit of Free Software, or the Reality by zwarag on Wednesday July 15, 2015 @03:21AM (#9890136)
They don't care about that you checked your mailbox. The problem is that they saved your action for future. Everything you do is saved. That does not mean that they care. But in case they need to care in future. Everything you have done is logged.
Re:Re: The Spirit of Free Software, or the Reality by markvdb on Wednesday July 15, 2015 @01:46AM (#9889899)
In the case of Debian, it tells them you are using a specific version of iceweasel, which probably is quite deterministic in combination with the rest of the dragnet.
Re:Re: The Spirit of Free Software, or the Reality by lmm on Wednesday July 15, 2015 @06:44AM (#9890622)
Whenever a new version of Iceweasel hits the repos, a bunch of people upgrade, and perform identical requests. You can figure out how frequently someone checks for updates I guess, but other than that what would you learn? The browser hasn't had the chance to acquire any information that would distinguish you from any of the other Debian users yet.
Re:Re: The Spirit of Free Software, or the Reality by raverbashing on Wednesday July 15, 2015 @02:22AM (#9889991)
Well, that info in the URL probably means nothing.

The user-agent is sent for all those connections

Re:Re: The Spirit of Free Software, or the Reality by dclusin on Tuesday July 14, 2015 @11:42PM (#9889584)
I recall reading something on the internet that IP + browser fingerprint is good enough to unique identify a large number of people. Has this changed or otherwise untrue?
Re:Re: The Spirit of Free Software, or the Reality by duskwuff on Tuesday July 14, 2015 @11:52PM (#9889613)
Getting the type of "browser fingerprint" they're depending on here requires a bunch of Javascript. You can't get that data from just looking at a single request, which is all that they're getting here.
Re:Re: The Spirit of Free Software, or the Reality by HappyTypist on Wednesday July 15, 2015 @12:54AM (#9889788)
I think IP + useragent + locale (which is sent with every HTTP request) is enough to pinpoint most users.
Re:Re: The Spirit of Free Software, or the Reality by markvdb on Wednesday July 15, 2015 @01:47AM (#9889902)
Especially Debian users ("iceweasel" in the user agent string!)...
Re:Re: The Spirit of Free Software, or the Reality by avian on Wednesday July 15, 2015 @03:27AM (#9890154)
I made an add-on that tries to help with that: https://github.com/avian2/thawed-weasel
Re:Re: The Spirit of Free Software, or the Reality by liviu- on Wednesday July 15, 2015 @04:04AM (#9890237)
It's not so much 'Debian users' as 'Iceweasel users' — you can install Firefox from source on Debian, and even use Mint's package repo to install it.
Re:Re: The Spirit of Free Software, or the Reality by faitswulff on Tuesday July 14, 2015 @11:46PM (#9889599)
A quick click here convinced me that this is still the case: https://panopticlick.eff.org/
Re:Re: The Spirit of Free Software, or the Reality by kbrosnan on Wednesday July 15, 2015 @12:03AM (#9889642)
This is a handful of GET requests for images. You would need a page to fingerprint. The site could get an IP, likely the user agent. Safe browsing requests are sandboxed from all the other Google cookies.
Re:Re: The Spirit of Free Software, or the Reality by takeda on Wednesday July 15, 2015 @02:13AM (#9889970)
Geez did you guys even look at the URLs?

https://safebrowsing.google.com/safebrowsing/downloads?clien...

Isn't the API key your fingerprint? The key is not shown here, because the author was showing what the requests look like on first run, subsequent requests would contain your unique ID in them.

Not picking on you specifically, I saw several responses saying the same thing.

Re:Re: The Spirit of Free Software, or the Reality by magicalist on Wednesday July 15, 2015 @02:57AM (#9890081)
> Isn't the API key your fingerprint?

No, it's a per-application key, so in this case it would be IceWeasel's key.

Re:Re: The Spirit of Free Software, or the Reality by takeda on Wednesday July 15, 2015 @04:20PM (#9893807)
In that case why would it make a request with "key=no-google-api-key" then why not use the IceWeasel key right from the start?
Re:Re: The Spirit of Free Software, or the Reality by magicalist on Wednesday July 15, 2015 @10:15PM (#9895182)
No clue, but it's not like we have to guess about what it is. It's all covered in the Safe Browsing docs: https://developers.google.com/safe-browsing/lookup_guide#Get...
Re:Re: The Spirit of Free Software, or the Reality by scottw on Wednesday July 15, 2015 @12:30AM (#9889720)
You sure those are images? All we know for certain is that those are GET requests.
Re:Re: The Spirit of Free Software, or the Reality by girvo on Wednesday July 15, 2015 @12:44AM (#9889756)
I'd be willing to bet that Firefox would treat them as such, even if they returned something different. Still, those favicons should be bundled instead of making requests, IMO.
Re:Re: The Spirit of Free Software, or the Reality by bmelton on Wednesday July 15, 2015 @12:56AM (#9889792)
Because we can see the sum of the requests, I think it's safe to say that they are probably just images.

There's nothing to stop, say, ebay from serving PHP scripts on ICO extension, processing the request as a pageload and then ultimately returning the icon file, but for anything useful to have been gleaned, it would have generated more requests.

Either it did generate more requests and Mozilla didn't honor them (in which case, yay), or it didn't generate more requests (in which case, yay). The former would be slightly preferred as the latter doesn't prevent ebay from later changing their strategy.

Re:Re: The Spirit of Free Software, or the Reality by Manishearth on Wednesday July 15, 2015 @12:08AM (#9889661)
Browser fingerprint requires at least Javascript, and to do it properly you need the ability to run Java/Flash too. These are HTTP requests, not HTML pages which are opened in the browser. Since its not using cookies, these requests only contain the user agent string, which is very far off from any useful kind of tracking-fingerprint.
Re:Re: The Spirit of Free Software, or the Reality by jlarocco on Wednesday July 15, 2015 @02:01AM (#9889932)
I have a few problems with it, actually.

Number one is that it's happening when users don't expect it. As an end user, I don't expect my browser to start making requests until I tell it to.

And it's silly to say the information is "harmless in itself," because most of the information Google, Facebook, Yahoo, etc. collect is harmless in itself. The whole point of those companies is to collect as many tiny pieces of "harmless" information as possible to build up profiles about people.

TBH, I don't trust Google at all on privacy matters any more. The way they try to tie my work Gmail to my personal Gmail, to my youtube viewing and cram everything into Google+ has really rubbed me the wrong way, and I've been moving away from their services as much as possible. The last thing I want is my browser contacting them without my knowledge.

Re:Re: The Spirit of Free Software, or the Reality by magicalist on Wednesday July 15, 2015 @02:06AM (#9889947)
> TBH, I don't trust Google at all on privacy matters any more

Options -> Security -> deselect "Block reported attack sites" and "Block reported web forgeries". Easy.

Re:Re: The Spirit of Free Software, or the Reality by jlarocco on Wednesday July 15, 2015 @02:13AM (#9889973)
After you've already launched the browser and sent info to Google...
Re:Re: The Spirit of Free Software, or the Reality by Qantourisc on Wednesday July 15, 2015 @02:58AM (#9890084)
The information "hey I have an IP and I'm using this browser, and I have a browser at this time" is going to be send A LOT when using the browser for what it's made for. The problems come later when sending every URL to another party (safe browsing). Also from google "Privacy: API users exchange data with the server using hashed URLs, so the server never knows the actual URLs queried by the clients." So it's possibly safe ?
Re:Re: The Spirit of Free Software, or the Reality by ionised on Wednesday July 15, 2015 @11:56AM (#9892009)
I'm totally Google free save whatever traces of Google tech are in CyanogenMod on my phone and I can't say my life has been negatively affected by going this route.

There are alternatives for everything out there.