Washington: A hacker has revealed how he easily accessed every single Facebook account due to a privacy flaw in the social networking site.
According to a report by Gizmodo, the web applications security specialist Nir Goldshlager posted details of how he was able to gain access to any Facebook account he wanted because of a flaw in Facebook`s Oauth, a method of authentication used by the social network.
Goldshlager explained how he was able to exploit Facebook privacy flaw and `steal unique access tokens` that give him access to a person`s full Facebook account on his blog, CBS News reports.
The hacker, who was, luckily, not looking to exploit Facebook users, reported the security flaw to the social network so the loophole could be fixed.
Facebook confirmed Goldshlager`s claims and says it has fixed the privacy flaw, the report said.
According to Goldshlager, the only way users can protect themselves from this type of hack would be to change their passwords.