96 points · by homakov · 13y ago · 57 comments
google-chrome --user-data-dir=/home/myaccount/.config/facebook-chrome
And that launches directly to Facebook. I keep Facebook stuff nicely contained in that browser. I mostly just follow links out of Facebook. The real Chrome never even knows that I'm on Facebook.I've been using a separate browser for FB for quite a while now.
Is what you're doing more secure than that?
Also, I had to allow popups.
sorry again for buggy PoC!
So all this does is to check if my username matches with some preexisting username. Its no way you can detect my username if you don't already know it. Also even after I gave the demo my username, chrome simply blocked a popup and the whole thing failed...
Either I don't get it or this is a lot less impressive than the title suggests.
blocked is ok, just wait.
i said 'detect'. you can check against predefined 10-50 list of friends
Not that it's hard to get people to click links, but am I missing what's so "nifty" about this vuln?
First hit when you Google for [facebook report vulnerability]
By making that change (and having no other way to hit a page that redirects to my user page), there is no URL for the attacker to check against.
The behavior of the browser, after appending an '#' to location.href, is different depending on the value of the current URL.
The state of the browser after making such a change gives you information about what the current URL was before making the change.
The information it gives you is whether or not you only appended '#.* ' to the current URL.
Normally, this information is only available in this context if the current URL follows the code origin policies of the currently executing code. In most browsers, this means you can only look at current URLs if they are in the same domain as the executing code.
The article shows code that exploits this to try to guess your Facebook username.
This is interesting 1) because it allows for brute force attacks to gain potentially sensitive information and 2) this may cause new discoveries that could make this more efficient or that expand what is possible and 3) because this behavior is as designed.