News for hackers. Stuff that matters.
Re:Who am I: A mind reader (don't forget to view source) by lrichardson on Thursday June 05, 2014 @10:50PM (#7855981)
Question:

I know that the `:visited` exploit is handled by the browsers so that you can't figure out by javascript what is going on...

but what if you used just CSS to figure it out? For instance, what if you generated the CSS which had a unique image it requested via the `background-image` property, stored the data on the server, then just requested the data from the server after the fact?

Do the browsers prohibit the usage of url-based css properties on CSS selectors with `:visited` or something? Does anyone have a link/reference to how the exploits were patched up?

Re:Who am I: A mind reader (don't forget to view source) by RussianCow on Thursday June 05, 2014 @10:53PM (#7855987)
Yes, they prohibit anything that might be used for this purpose.[0] So the CSS allowed for :visited selectors is limited to a small subset.

[0]: https://hacks.mozilla.org/2010/03/privacy-related-changes-co...

Re:Who am I: A mind reader (don't forget to view source) by lrichardson on Thursday June 05, 2014 @11:07PM (#7856020)
Great. Thanks for the link.
Re:Who am I: A mind reader (don't forget to view source) by megablast on Thursday June 05, 2014 @11:48PM (#7856114)
Could your draw the screen, then save that as a screenshot, and analyse the image?
Re:Who am I: A mind reader (don't forget to view source) by andybak on Friday June 06, 2014 @03:14AM (#7856561)
Just what I was thinking. Can't you render the DOM to a canvas and then access the pixels in that?
Re:Who am I: A mind reader (don't forget to view source) by LaurentVB on Friday June 06, 2014 @04:03AM (#7856715)
Apparently not: https://developer.mozilla.org/en-US/docs/Web/HTML/Canvas/Dra...

> Visited-link styles aren't applied to links rendered in SVG images, so history information can't be retrieved, and native themes aren't rendered in SVG images, which makes it harder to determine the user's platform.

Re:Who am I: A mind reader (don't forget to view source) by Cthulhu_ on Friday June 06, 2014 @04:25AM (#7856775)
They thought of everything, :)