Facebook OAuth mechanism, that allowed an attacker to hijack any Facebook account without user's interaction.
Another hacker, 'Amine Cherrai' reported a new Facebook OAuth flaw, whose exploitation is actually very similar to Nir Goldshlager's findings but with a new un-patched way.
Before reading further, I would like to suggest you to read following post to understand the basic exploitation mechanism:
- Facebook OAuth flaw allows gaining full control over any Facebook account
- Facebook hacking accounts using another OAuth vulnerability
- URL Redirection flaw in Facebook apps push OAuth vulnerability again in action
Now, if you are aware about the vulnerability used against Facebook OAuth in redirect_uri parameter in the URL, there is another way that Amine Cherrai found, to bypass the patch applied by Facebook security team.
He found another file on Facebook, that allow redirection to steal access_token of victim's accounts. i.e http://facebook.com/connect/xd_arbiter.php?#&origin=http://facebook.com/” . Successful exploitation once again allowed hacker to hijack Facebook accounts using OAuth Flaw.
Proof of concept :