vissha Posted August 28, 2016 Share Posted August 28, 2016 Hacker Wins Bug Bounty After Exposing Critical Facebook Security Flaw A hacker from California has revealed a trick which could allow him to hack into a user’s Facebook account and gain complete access to it. Learning to hack a Facebook account is one of the first things people want to learn. Many try their hand at this to gain complete access to someone’s Facebook profile. One California-based hacker tried his method, and subsequently discovered a method that exploits Facebook’s password reset mechanism to hack into anyone’s Facebook profile. Gurkirat Singh has revealed that he discovered a way to gain access to anyone’s Facebook profile using a flaw in the social networking site’s password reset mechanism. He said that the only way for anyone to reset their Facebook password is to use a randomly generated 6-digit code which Facebook provides them with once they request a password reset. The algorithm behind it produces a truly random number. But the fact that it is a 6-digit code means that there are a possible 106 = 1,000,000 combinations. These remain the same until they are used. Gurkirat exploited this fact. According to him, Facebook needs to store duplicate codes for multiple users if more than 1,000,000 users request a password reset. This means that more than two people have the same passcode. To use this for his purpose, Gurkirat Singh devised a way to send in 2 million password change requests to Facebook He mentions that doing so is not simple, for it requires a way to change your IP to avoid being blocked by the company, as well as access to 2 million Facebook IDs. Since Facebook IDs are 15-digit long, Singh used 1,00,000,000,000,000 and made queries to Facebook Graph API to see which IDs were valid. This can only be done through authorized apps, and once a match is found, you can enter the ID in the URL like www.facebook.com/[ID]. The URL then automatically changes the ID to the username. This data was compiled into a JSON by Singh. To handle the problem of IP changing, Gurkirat Singh simply used a proxy server that listened to HTTP Requests and then assigned a random IP address to each request. He used a multithreaded script to simulate user behaviour when a passcode is required. The script requests a passcode to every user in the JSON file created earlier. Then the scripts were run to make the requests. It looked like this: After doing so, the 6-digit passcode needs to be matched using the Brute force technique. Singh added ID to the key ‘u’ and the successfully matched passcode to the key ‘n’ in the URL as www.beta.facebook.com/recover/password?u=…&n=… Doing so returned a match. Doesn't get any simpler! #Hacking #Facebook https://t.co/2vi14s1Qtp — Gurkirat Sin @GurkiratSpeca) August 25, 2016 Once this was done, Singh added this matched passcode to the URL and was redirected to the password reset page. Therefore, he was successful in gaining access to a user’s account using this method. Singh said that the bounty offered to him was a mere $500, as Facebook considered this as a low priority finding. Source Link to comment Share on other sites More sharing options...
0veR Posted August 28, 2016 Share Posted August 28, 2016 LOL! They only paid him 500$ He could easily sell this for more! With this you could easily get to anyone facebook. Celeberty, politicians and read they messages and see private photos and they only paid them $500 LOL! Link to comment Share on other sites More sharing options...
lurch234 Posted August 28, 2016 Share Posted August 28, 2016 1 hour ago, vissha said: Therefore, he was successful in gaining access to a user’s account using this method 1 hour ago, vissha said: Facebook considered this as a low priority finding Take note, all of you who helped zuckerberg make his millions, how callous and ingrate this sounds! Link to comment Share on other sites More sharing options...
SandStone Posted August 28, 2016 Share Posted August 28, 2016 Deleted. Link to comment Share on other sites More sharing options...
pc71520 Posted August 28, 2016 Share Posted August 28, 2016 13 hours ago, vissha said: the bounty offered to him was a mere $500, as Facebook considered this as a low priority finding. Even Scrooge would have paid him more than $500. Facebook sucks! Link to comment Share on other sites More sharing options...
mikie Posted August 28, 2016 Share Posted August 28, 2016 Zucks should just pay people that have their accounts hacked $5000 to not tell anybody. He can afford it. Link to comment Share on other sites More sharing options...
Freddynic159 Posted August 29, 2016 Share Posted August 29, 2016 I remember having read something similar a few months ago. http://thehackernews.com/2016/03/hack-facebook-account.html Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.