Re:Detecting login state for almost any website on the internet
by f- on Monday July 07, 2014 @03:15AM
(#7997499)
Such attacks are interesting, but the CSP part is a red herring to some extent; we had this problem without CSP and the issue is mostly that nobody has any good ideas on how to get rid of this class of attacks without breaking the web:
http://lists.w3.org/Archives/Public/public-webappsec/2014Feb...
Re:Detecting login state for almost any website on the internet
by ZoFreX on Monday July 07, 2014 @04:56AM
(#7997799)
To what extent is CSP a red herring here? Is there any part of this that would be mitigated if we didn't have it, or can you do everything here without it?
Re:Detecting login state for almost any website on the internet
by jlogsdon on Monday July 07, 2014 @08:52AM
(#7998507)
It's all possible with HTTP statuses according to a link[1] posted above.
[1] https://grepular.com/Abusing_HTTP_Status_Codes_to_Expose_Pri...
Re:Detecting login state for almost any website on the internet
by ZoFreX on Monday July 07, 2014 @10:06AM
(#7998848)
What legitimate use do those onerror / onload callbacks have... that seems like the kind of thing that should be restricted to same origin!
Re:Detecting login state for almost any website on the internet
by f- on Monday July 07, 2014 @10:50AM
(#7999138)
Similarly to CSP, onload and onerror are not the only ways to pull it off. The effect of successfully or unsuccessfully loading images or scripts can be usually inferred without that; for example, images have dimensions that, even if you take away the ability to read them directly, can be inferred from the changes to the layout of the nearby elements.
Re:Detecting login state for almost any website on the internet
by TheLoneWolfling on Monday July 07, 2014 @10:39AM
(#7999069)
I've seen it used for fallbacks when loading resources hosted on a CDN.
http://browserspy.dk/css-exploit.php