
How the attack works:
1. User navigates to your page, like button is embedded invisibly
2. As user moves mouse, JavaScript is used to keep the button beneath the user's cursor.
3. User clicks what they believe is a link on the page and "Likes" the attacker's content instead.
4. User doesn't see any notification of Liking the content, which results in a News Feed story.
5. News Feed contains mention of attacker’s content, which allows it to grow virally.
Twitter run into similar vulnerability last February then fixed by disabling iFrame embeds, but Facebook can't employ the same logic to detect clickjacking since the Facebook like is itself an iFrame. Very critical bug and we'll follow-up to see how Facebook will fix this, until that time watch your facebook account, some unwanted "likes" might be triggered if a website you visit use the vulnerability.



Web Security Magazine's RSS