NEW YORK (AP) - Facebook reported a major security breach in which 50 million user accounts were accessed by unknown attackers.
In a blog post , the company says hackers exploited a bug that affected its "View As" feature, which lets people see what their profiles look like to someone else. That would let attackers steal "access tokens," which are digital keys that Facebook uses to keep people logged in. Possession of those tokens would allow attackers to "seize control" of user accounts, Facebook said.
Facebook reported a major security breach in which 50 million user accounts were accessed by unknown attackers. Guy Rosen, Facebook's vice president of product management said. Another bug then created an access token that made Facebook think the hacker had legitimately signed in with the account being viewed.
"We haven't yet been able to determine if there was specific targeting," Rosen said in a call with reporters. "It does seem broad. And we don't yet know who was behind these attacks and where they might be based."
Facebook says it has taken steps to fix the security problem and alerted law enforcement.
To deal with the issue, Facebook reset some logins, so 90 million people have been logged out and will have to log in again. That includes anyone who has been subject to a "View As" lookup in the past year.
Facebook says it doesn't know who is behind the attacks or where they're based. In a call with reporters on Friday, CEO Mark Zuckerberg said that the company doesn't know yet if any of the accounts that were hacked were misused.
Jake Williams, a security expert at Rendition Infosec, said the stolen access tokens would have likely allowed attackers to view private posts and probably to post status updates or shared posts as the compromised user, but wouldn't affect passwords.
"The bigger concern (and something we don't know yet) is whether third party applications were impacted," Williams said in a text exchange. "Facebook offers a login service for third parties to allow users to log into their apps using Facebook. In other words, Facebook is providing the identity management for countless other sites and services. These access tokens that were stolen show when a user is logged into Facebook and that may be enough to access a user's account on a third party site."
The hack is the latest setback for Facebook during a year of tumult for the company.
News broke early this year that a data analytics firm that once worked for the Trump campaign, Cambridge Analytica, had improperly gained access to personal data from millions of user profiles. Then a congressional investigation found that agents from Russia and other countries have been posting fake political ads since at least 2016. Facebook CEO Mark Zuckerberg appeared at a Congressional hearing over Facebook's privacy policies in April.
Facebook has more than 2 billion users worldwide. The company said people do not need to change their Facebook passwords, but anyone having trouble logging on should visit the site's help center . Those who want to log out can visit the "Security and Login" section of their settings, which lists the places that people are logged into Facebook. It offers a one-click option of logging out of all locations.
Ed Mierzwinski, the senior director of consumer advocacy group U.S. PIRG, said the breach was "very troubling."
"It's yet another warning that Congress must not enact any national data security or data breach legislation that weakens current state privacy laws, preempts the rights of states to pass new laws that protect their consumers better, or denies their attorneys general rights to investigate violations of or enforce those laws," he said in a statement.
Wedbush analyst Michael Pachter said "the most important point is that we found out from them," meaning Facebook, as opposed to a third party.
"As a user, I want Facebook to proactively protect my data and let me know when it's compromised," he said. "Shareholders should ultimately approve of Facebook's handling of the issue."
Read more here. Facebook posted this on Friday.
By Guy Rosen, VP of Product Management
On the afternoon of Tuesday, September 25, our engineering team discovered a security issue affecting almost 50 million accounts. We're taking this incredibly seriously and wanted to let everyone know what's happened and the immediate action we've taken to protect people's security.
Our investigation is still in its early stages. But it's clear that attackers exploited a vulnerability in Facebook's code that impacted "View As", a feature that lets people see what their own profile looks like to someone else. This allowed them to steal Facebook access tokens which they could then use to take over people's accounts. Access tokens are the equivalent of digital keys that keep people logged in to Facebook so they don't need to re-enter their password every time they use the app.
Here is the action we have already taken. First, we've fixed the vulnerability and informed law enforcement.
Second, we have reset the access tokens of the almost 50 million accounts we know were affected to protect their security. We're also taking the precautionary step of resetting access tokens for another 40 million accounts that have been subject to a "View As" look-up in the last year. As a result, around 90 million people will now have to log back in to Facebook, or any of their apps that use Facebook Login. After they have logged back in, people will get a notification at the top of their News Feed explaining what happened.
Third, we're temporarily turning off the "View As" feature while we conduct a thorough security review.
This attack exploited the complex interaction of multiple issues in our code. It stemmed from a change we made to our video uploading feature in July 2017, which impacted "View As." The attackers not only needed to find this vulnerability and use it to get an access token, they then had to pivot from that account to others to steal more tokens.
Since we've only just started our investigation, we have yet to determine whether these accounts were misused or any information accessed. We also don't know who's behind these attacks or where they're based. We're working hard to better understand these details -- and we will update this post when we have more information, or if the facts change. In addition, if we find more affected accounts, we will immediately reset their access tokens.
People's privacy and security is incredibly important, and we're sorry this happened. It's why we've taken immediate action to secure these accounts and let users know what happened. There's no need for anyone to change their passwords. But people who are having trouble logging back into Facebook -- for example because they've forgotten their password -- should visit our Help Center. And if anyone wants to take the precautionary action of logging out of Facebook, they should visit the "Security and Login" section in settings. It lists the places people are logged into Facebook with a one-click option to log out of them all.