Another Security Hole Found On Yelp, Facebook Data Once Again Put At Risk

Tuesday, May 11th, 2010

Jason Kincaid currently works as a writer at TechCrunch. He grew up in Danville, California and later relocated to UCLA in Los Angeles, California, where he studied biology with a minor in ‘Society and Genetics’. You can reach him at jkincaidtc@gmail.com (he has other addresses too, so don’t worry if you have a different one). → Learn More

Stop me if this sounds familiar. Last night, we reported on a security exploit discovered by web security consultant George Deglin that would allow a malicious site to quietly harvest a user’s Facebook friend list, email address, and other data. The exploit used a technique called Cross Site Scripting (XSS) to inject malicious code into Yelp, and took advantage of the fact that Yelp is one of Facebook’s partners for its controversial Instant Personalization feature to harvest the Facebook user data. The hole was quickly patched, and no user data was compromised.

Tonight, Deglin discovered a second hole in Yelp that once again allowed him to inject malicious code using XSS that could put Facebook user data at risk. Yelp has now patched this second hole, and once again the company believes that no user data was compromised. Facebook has turned off Instant Personalization on Yelp for the time being as Yelp looks to ensure there are no more vulnerabilities.

Some Background

Instant Personalization is a new feature that allows a handful of trusted third-party sites to immediately access a user’s Facebook information as soon as the user hits the site (the three launch partners are Yelp, Pandora, and Microsoft’s Docs.com). Unlike standard sites that implement Facebook Connect, these Instant Personalization sites don’t have to prompt users to log-in or hit a ‘Connect’ button before Facebook shares data with them. Unfortunately, this also means that when one of these Instant Personalization sites gets compromised, the potential for abuse is much greater than for most standard Connect sites.

Facebook has granted Yelp automatic access to a user’s name, profile photo, friend list, networks, fan pages, and other information that has been shared with ‘everyone’, which could include status updates and some photos depending on the user’s privacy settings. If a malicious site were to compromise Yelp, every time a Facebook user visited that malicious site it would be able to immediately harvest all of this data, even if the user had never actually been to Yelp before.

Why This Is A Problem

We should point out that since last night, Facebook has tightened up the amount of data shared through Instant Personalization. Before last night’s exploit, Yelp was also given automatic access to Facebook users’ email addresses. Facebook says that this was shared because of a bug, and is no longer sharing email addresses with Yelp. The fact that Facebook could have been accidentally handing out user emails isn’t comforting in the slightest, but at least it’s fixed.

With email addresses out of the picture, the only Facebook data that could potentially be accessed through this kind of exploit is information that is shared with ‘Everyone’, which is visible to the public anyway. But even though the type of information being shared is not terribly alarming, the context in which it could be shared is. There’s a reason not every site has access to Facebook’s Instant Personalization.

Using this kind of XSS hole, it would be possible for a malicious ad served by an ad network in an iFrame to surreptitiously harvest data about any Facebook user who viewed the ad. The ad could conceivably customize itself to address the user by name or show their profile photo. Likewise, unauthorized third party sites could use such an exploit to identify its users not just by IP address, but by name, current city, etc.

I don’t mean to pick on Yelp in these cases — XSS vulnerabilities are quite common on the web, and I suspect we’ll see similar exploits on Facebook partner sites in the future. All of which goes to show that no matter how much Facebook tightens its own security, it cannot ensure that its third party partners are secure.

Here’s Yelp’s statement on tonight’s issue:

“We were alerted today of a second XSS vulnerability on our site, which we immediately patched. Again, we have not found any evidence that user information was accessed. The Facebook integration has been temporarily disabled while we conduct a thorough site audit and will be re-instated upon completion.”

And Facebook’s statement:

“We’ve been alerted to additional vulnerabilities in Yelp’s code. In the interest of all our users, we’ve temporarily disabled their Facebook integration. They are working quickly to resolve the issue.”

Company: Yelp
Website: yelp.com
Launch Date: January 7, 2004
Funding: $56M

Another company founded in 2004 by two former PayPal employees. Yelp is a local reviews website covering the United States, Canada, the UK, Ireland, France, Germany, Austria and the Netherlands; Yelp drew an audience of more than 50 million unique visitors in March 2011. Yelpers have written more than 18 million local reviews, making Yelp the leading local guide for real word-of-mouth on everything from boutiques and mechanics to restaurants and dentists.

Learn more
Company: Facebook
Website: facebook.com
Launch Date: January 2, 2004
Funding: $2.34B

Facebook is the world’s largest social network, with over 500 million users. Facebook was founded by Mark Zuckerberg in February 2004, initially as an exclusive network for Harvard students. It was a huge hit: in 2 weeks, half of the schools in the Boston area began demanding a Facebook network. Zuckerberg immediately recruited his friends Dustin Moskovitz and Chris Hughes to help build Facebook, and within four months, Facebook added 30 more college networks. The original idea for the term...

Learn more

Tags:

Sponsored Ads

blog comments powered by Disqus

Sponsored Ads

Sponsored Ads

Events

Crunchies Awards
January 31, 2012
Davies Symphony Hall
San Francisco CA
Learn MoreBuy Tickets