ie8 fix

Facebook apps have been accidentally leaking user data for years

By | May 10, 2011, 3:15pm PDT

Summary: Facebook has fixed a flaw affecting hundreds of thousands of its apps. You should still change your Facebook password though.

Update: Facebook says it has found no evidence of apps leaking user data.

Facebook apps have been leaking access to millions of Facebook users’ accounts, including profiles, photographs, chat, and other personal information because of an old bug that overrides individual privacy settings. The flaw, which is fixed now, affected hundreds of thousands of apps before it was discovered by researchers from security company Symantec.

The bug exposed user access tokens to third parties, like advertisers and analytic platforms. The tokens serve as a spare set of keys that Facebook apps use to perform certain actions on behalf of the user or to access the user’s profile. Each token is associated with a select set of permissions, like reading your wall, accessing your friend’s profile, posting to your wall, and so on.

For years, certain Facebook IFRAME apps that rely on an older form of user authentication turned over these keys to third parties, giving them the ability to access information that users may have secured in their privacy settings. Symantec has confirmed that Facebook has fixed the underlying bug, but tokens already exposed may still be widely accessible. The only comfort the company offered was that the third parties who were accidentally granted access to the data may not have realized their ability to access this information.

While many access tokens expire shortly after they’re issued, Facebook also supplies offline access tokens that remain valid indefinitely. Thankfully, Facebook users can close this potential security hole by changing their passwords, which immediately revokes all previously issued keys. If you use Facebook apps, go change your password on the social network as soon as possible.

Facebook sees 20 million pass installed every day. There’s no way to know precisely how many apps or Facebook users were affected by this flaw, but Symantec estimates that as of April 2011, almost 100,000 apps were making the leak possible. That’s just for last month though: over the years, hundreds of thousands of apps may have inadvertently leaked millions of access tokens to third parties, according to the security giant.

So how did this happen? Well, Facebook by default uses OAUTH2.0 for authentication. That being said, it looks like the company has not been regularly testing its older authentication schemes, which are still supported and used by hundreds of thousands of apps.

When a user opens up an app to install on the social network, Facebook first sends the app a limited amount of non-identifiable information about the user (their country, locale, and age bracket) so that the app can personalize the page. Then the app sends the user to a permission dialog page using a client-side redirect. If the app uses a legacy Facebook API as well as the deprecated parameters “return_session=1″ and “session_version=3″, Facebook subsequently returns the access token by sending an HTTP request containing the access tokens in the URL to the app host. The Facebook app can then inadvertently leak the access tokens to third parties. Worse yet, the URL that includes the access token is actually passed to third party advertisers as part of the referrer field of the HTTP requests.

It’s no small coincidence that Facebook today announced that it will be permanently retiring its old authentication routine. The company is still working to transition apps from the old Facebook authentication system and HTTP to OAuth 2.0 and HTTPS.

Facebook is requiring all sites and apps to migrate to OAuth 2.0, process the signed_request parameter, and obtain an SSL certificate in the next five months. The company says that the sheer number of Facebook apps prevents the company from forcing developers to make the switch immediately. Here’s the timeline the company has announced:

  • July 1: Updates to the PHP and JS SDKs available that use OAuth 2.0 and have new cookie format (without access token).
  • September 1: All apps must migrate to OAuth 2.0 and expect an encrypted access token.
  • October 1: All Canvas apps must process signed_request (fb_sig will be removed) and obtain an SSL certificate (unless you are in Sandbox mode). This will ensure that users browsing Facebook over HTTPS will have a great experience over a secure connection.

I would prefer to see an accelerated timeline given how serious this security flaw was. Although it has apparently been fixed, it’s worrying that Facebook did not find it by itself after all these years of use.

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

Emil Protalinski has covered the tech industry for five years for multiple publications.

Disclosure

Emil Protalinski

Emil has nothing to disclose.

Biography

Emil Protalinski

Emil Protalinski has covered the tech industry for five years for multiple publications, including Neowin for two years and Ars Technica for three years. He has written 1,000s of articles for both, with a particular focus on scrutinizing Microsoft products and services. Recently, Emil has expanded his coverage to non-Microsoft technologies, including the social networking giant Facebook.

27
Comments

Join the conversation!

Just In

RE: Facebook apps have been accidentally leaking user data for years
Jovanvaldeze 26th Oct
Really interesting post. I enjoyed reading it. Will return again soon.

Regards
Jovan (http://www.socialcubix.com)
Another reason I am proud to be FB free! Only Google and Apple are allowed to leak my personal info. Lol.
@Bates_
themsleves:
"Here we are in OC! Look at the kids!"
"Going away: 5 days to go before Family vaca in FLA!"
"Check out my new car"
"House looks nice now that we painted it!"
"The kids and their cousins at BD party!"

All complete with pictures.
@John Zern +2 for you good sir.
0 Votes
+ -
You don't want your info leaked - don't share it
use_what_works_4_U 11th May 2011
@Bates_
NT
0 Votes
+ -
OK OK, but how is this windows fault?
facebook@... 11th May 2011
I am sure the LSM in Linux would have prevented this.
Facebook had been taking a permanent "leak" ever since it went online! No Facebook for me, never, ever.
There is nothing accidental about FB leaking information.
does this mean the world can see my no no zone ha ha har
0 Votes
+ -
@bates
What about Sony?
I believe the bulk of Facebook accounts are fictitious anyways. So many people use FB to live alter egos. I really live in Mongolia.
Irregardless of whether you are sharing information on any of the social media networks, your personal data is never really personal!
I don't know about accidental, but when I first got on Facebook I read the EULA with one of those silly apps that clutter the site. The fine print said that by using the app you were granting access to all your pictures, your wall posts, you conversations and permission also extended to allowing third parties to use anything they wanted, even pictures that weren't of you, in whatever manner they saw fit.

There were some differences from one to the other but all over-rode security settings set for the account. I preached that to my family and friends and only 1/4 give or take understood what it meant. I tell people don't be surprised if the 20 Questions Game you play Monday leads to your smiling face with an adult diaper or Viagara ad the following week!
Facebook had been taking a permanent "leak" ever since it went online! No Facebook for me, never, ever.
http://www.dacsandatphanrang.com/muc-suc-khoe/blog.html
I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate! nccma cooler
I used to be more than happy to seek out this internet-site.I wanted to thanks in your time for this glorious read!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post. this thread is amazing i like your work and i appreciate you that you have share a useful stuff thanks for sharing the i shop abatwa
I used to be more than happy to seek out this internet-site.I wanted to thanks in your time for this glorious read!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post.Bookmarking now thanks please consider a follow up post. power sa shop
I think the representation of this article is actually superb one. This is my first visit to your site. Thanks a lot and keep sharing the information. Keep updating the information for all of us. Thanks ZDNet Government was launched as the brand's first industry vertical, with a mission to cater to IT professionals in the public secto I agree with your post. However, do you have any sources I can cite for my paper wheel car com bury
I think the representation of this article is actually mt2 pvp superb one. This is my first visit to your site. Thanks a lot metin2 and keep sharing the information. Keep updating the information for all of us. mt2 Thanks ZDNet Government was launched as the brand's first industry vertical, mynet with a mission to cater to IT professionain the public secto I agree with your post yemek tarifleri However, do you have any sources I can cite for my paper face
pvp

metin2, mt2, games, game, oyun, metin2 pvp sserverler knight online pvp metin2, mt2, games, game, oyun, metin2 pvp sserverler metin2 hile
metin2, mt2, games, game, oyun, metin2 pvp sserverler metin2 indir metin2, mt2, games, game, oyun, metin2 pvp sserverler guzel sozler metin2, mt2, games, game, oyun, metin2 pvp sserverler guzel sozleri metin2, mt2, games, game, oyun, metin2 pvp sserverler sevgiliye sozler metin2, mt2, games, game, oyun, metin2 pvp sserverler anlamli sozler metin2, mt2, games, game, oyun, metin2 pvp sserverler sex metin2, mt2, games, game, oyun, metin2 pvp sserverler sex hikayeleri metin2, mt2, games, game, oyun, metin2 pvp sserverler metin2 pvp server metin2, mt2, games, game, oyun, metin2 pvp sserverler metin2 pvp serverler metin2, mt2, games, game, oyun, metin2 pvp sserverler metin2 pvp serverlar metin2, mt2, games, game, oyun, metin2 pvp sserverler pvp serverlar metin2, mt2, games, game, oyun, metin2 pvp sserverler pvp serverler
Well welcome, hopefully you can become a vital member of the community and really help to push far ahead of google. Which Im sure the development team would love. This will of course earn you alot points too and get you on the leaders board. z d n e t t h a n k Im not sure i come to an agreement with you on every level, howevor it absolutely was a good posting, many thanks for taking the time to put up your ideas.
Thanks nice info z d n e t I really liked your current article write more..let me add you to its favorite
I really enjoyed reading this post !!!have bookmarked w e b s will come back to read more.
Fantastic news about the new release.I positively enjoying each little bit of it and I have you b o o k m a r k e d to check out new stuff you weblog post.Im not sure i come to an agreement with you on every level, howevor it absolutely was a good posting, many thanks for taking the time to put up your ideas
0 Votes
+ -
RE: Facebook apps have been accidentally leaking user data for years
jackson1984-24316069205748857739440257893812 10th Oct
You personal an exceptionally interesting website covering a large number of matters I'm intrigued reebok jersey moreover.I just added your web site to my favorites so I can scan a great deal significantly more within the subsequent days
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.
Really interesting post. I enjoyed reading it. Will return again soon.

Regards
Jovan (http://www.socialcubix.com)

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix