A security flaw affecting Facebook has exposed private photos of the website's co-founder and CEO Mark Zuckerberg.
The methods to exploit the serious security vulnerability, which allowed anyone to see photos on the platform even if their security settings were set to private, was posted online on the Bodybuilding.com web forum.
The security flaw was related to the system, which allows users to flag pornographic images on the social networking platform. It was discovered that by flagging a photo present in the a user's public profile, Facebook would offer more photos, even from private album, for flagging.
Many chose to give Zuckerberg a taste of his own medicine by accessing and posting his private photos online. In one photo Zuckerberg is seen cooking a meal in his kitchen while in another one he is giving goodies to trick-or-treaters on Halloween.
"The bug allowed anyone to view a limited number of another user's most recently uploaded photos irrespective of the privacy settings for these photos. This was the result of one of our recent code pushes and was live for a limited period of time," Facebook said in a statement reports The Telegraph (opens in new tab).
"Upon discovering the bug, we immediately disabled the system, and will only return functionality once we can confirm the bug has been fixed," the company added.