A bug has allowed Facebook users to view their friends' chat sessions on the site, prompting the social-networking company to disable its internal instant-messaging service. The bug also let people see their friends' pending friend requests.
To exploit the now-patched hole, people had to manipulate "in a specific way" the site's feature that lets members preview how their profile looks to each of their friends, Facebook said on its official corporate page on the site.
The vulnerability existed "for a limited amount of time", the company said. The chat function is now working again.
Technology news site TechCrunch first reported the bug and posted a video that demonstrates how the bug could be exploited.
"When we received reports of the problem, our engineers promptly diagnosed it and temporarily disabled the chat function," a Facebook spokeswoman.
"We worked quickly to resolve this matter, ensuring that once the bug was reported to us, a solution was quickly found and implemented," she added.
When asked how long the vulnerability existed, she replied: "We don't have specifics on how long the vulnerability existed, but it was for a short period of time."
The bug comes at a time when privacy concerns regarding Facebook have heated up, after the company recently introduced features that allow third-party websites to tap into users' profile data to personalise their experience for them.
Two weeks ago, Facebook announced it had revamped its application development platform so that its site and external sites can mesh their users' "social graphs" to individually customise their interaction with them.
"People can have instantly social and personalised experiences everywhere they go," said Mark Zuckerberg, Facebook's CEO.
Key to this vision is Facebook's Open Graph API (application programming interface) and Open Graph Protocol, a system to mark up objects in a uniform way so that Facebook and participating sites can understand them the same way.
Facebook also released plug-ins for developers to easily incorporate on their web pages Facebook functionality, such as the already widespread 'Like' button, which lets end-users express interest in content and inform participating websites.
Facebook's site has become a highly complex technology operation serving a massive number of users, which increases the likelihood of breakdowns, so the company must be increasingly vigilant about preventing and fixing bugs and malfunctions, said Augie Ray, a Forrester Research analyst.
As Facebook grows in size and importance, with hundreds of millions of people using it to store and share very personal information, the stakes are sky-high whenever a bug causes a security or privacy breach, he said.
Not only can these incidents erode the trust end-users and advertising partners have on Facebook, but they also put the company at risk of civil lawsuits and government penalties, Ray said.
"Today's incident doesn't seem like an overwhelmingly substantial security breach, but it is serious enough to raise questions on the minds of end-users as to how much they can trust Facebook with their information," he said.
"Facebook must make sure incidents like this one don't accumulate to the extent they become a bigger legal or trust issue," Ray added.
Once Facebook concludes its internal investigation of what went wrong and why, it would be in its best interest to provide more information about its findings, because transparency will help repair confidence among users and partners, he said.
Altimeter Group analyst Jeremiah Owyang predicts incidents like this will happen again. "Don't expect this to be the last privacy mishap. As more users flock to Facebook, it'll continue to innovate and change features in order to grow," he said. "Most consumers don't give privacy a hard think until it impacts their lives directly."