TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Facebook Vulnerability: Like Clickjacking

48 pointsby erickerralmost 15 years ago

6 comments

mkjonesalmost 15 years ago
This is Matt Jones, an engineer on the site integrity team at Facebook. We're the ones who address issues like this one on Facebook.<p>Ultimately clickjacking / UI redress is a browser vulnerability - it shouldn't be possible to display one thing and have another receive user interactions. As some people have pointed out, Firefox's NoScript plugin does a pretty good job of preventing it. But that isn't to say victim web sites shouldn't do anything about it.<p>In the case of Like buttons, they inherently run in an iframe so our protection on the rest of facebook.com (<a href="http://theharmonyguy.com/2010/03/13/facebook-adds-code-for-clickjacking-prevention/" rel="nofollow">http://theharmonyguy.com/2010/03/13/facebook-adds-code-for-c...</a>) can't apply. However, Facebook knows the urls these buttons point to and generally knows or can infer the urls where they are embedded. When we detect a likejacking site on one of these urls, we block its url or domain from being liked and prevent future clicks on facebook.com from going to it.
评论 #1513738 未加载
评论 #1513737 未加载
评论 #1515545 未加载
vinhboyalmost 15 years ago
<a href="http://vinhboy.com/blog/2010/05/31/facebook-man-with-the-biggest-trick/" rel="nofollow">http://vinhboy.com/blog/2010/05/31/facebook-man-with-the-big...</a> I also wrote about this like 2 months ago, and they still haven't done anything about it...<p>=(. Facebook CTO guy, are you around today?
评论 #1513804 未加载
评论 #1512974 未加载
评论 #1512976 未加载
bsnss-mn-cdralmost 15 years ago
Items like this will always be a never ending battle. Each time one side has to update their technology to stop something from the other they normally must gain more authority from the other. In the case of Facebook that will be asking for more rights into each website that wants to use the 'Like' button and with the recent privacy issues this will just kick the hornets nest all over again.
评论 #1513984 未加载
mdwrigh2almost 15 years ago
Unfortunately, the twitter clickjacking attack still isn't fixed. See <a href="http://seclab.stanford.edu/websec/framebusting/index.php" rel="nofollow">http://seclab.stanford.edu/websec/framebusting/index.php</a> for an overview of how that type of defense still can be defeated.
qeorgealmost 15 years ago
Its especially bad because of the way profile pages are organized. When you're viewing your own profile wall posts and status updates float to the top, while Likes, new friends, and other such ambient updates are further down. However, other people see the Like front and center on their News Feed.<p>I noticed this after several friends were liking "10 WORST construction mistakes", or similar. I asked several about it, and none of them had any idea it had happened.
kwamenum86almost 15 years ago
Anything in an iframe or under an iframe is susceptible to clickjacking. Firefox + NoScript does a pretty good job of preventing this.