Facebook Bully Video Actually an XSS Exploit | eWeek

Facebook Bully Video Actually an XSS Exploit

Apr 7, 2011
3 minute read
eWeek content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

A security researcher discovered a new cross-site-scripting vulnerability on Facebook, days after the social networking giant patched a different XSS flaw in its mobile API. At least one active scam is exploiting the new bug at this time.

“Found another instance of that Facebook app XSS-and it’s a Facebook XSS issue. Do not click links involving a video of a bully,” Joey Tyson, a security engineer at Gemini Security Solutions, posted on Twitter. Tyson writes about social networking sites’ privacy and security issues on his blog, Social Hacking.

The flaw has to do with the way browsers load certain links formatted in “a certain syntax” as JavaScript even though they are not filtered by JavaScript, Tyson said. It is more sophisticated than most XSS attacks as the actually video does load for the user. The “JS payload can do quite a bit,” Tyson added.

The app can post the link to the “video” on the user’s wall, add the user to a scam event and send invites to the event to friends, and send out the link on Facebook Chat.

Many past Facebook scams displayed a page and told users to download a plug-in-really malware-to view the video, or just redirected users to a survey or another malicious site. Viewers rarely saw the video they’d clicked to see.

Facebook has informed Tyson that it is tracking the attack and will be pushing out an update “soon,” according to Tyson. Facebook has removed several of the apps already, which made it a little challenging for Tyson to find an active scam to analyze. He pasted the actual exploit code on text-sharing site Pastebin, which pointed to a video titled “Pal Pushes Bully.”

A malicious app called “April Fools Prank” identified by Google engineer Ashish Bhatia on his personal blog appears to have used the same exploit, according to Tyson.

Users on Facebook who click on a link and land on an app page with an embedded video should not click on the video, Tyson warned. Infected users should check “liked” pages for any rogue sites and reset their passwords.

Tyson confirmed to eWEEK on Twitter that this flaw was different from the mobile API XSS flaw that Facebook patched on March 31.

The bug in the mobile API allowed malicious apps to automatically post spam messages on users’ walls, according to Symantec. As unsuspecting friends clicked on the links embedded in the wall posts, the infection spread even further. There were several copycat attacks exploiting this XSS flaw, which was caused by insufficient JavaScript filtering.

Any user logged into Facebook and accessing a site with the malicious JavaScript code on a mobile device would automatically post the spam message on his or her wall, said Symantec security expert Candid Wueest.

“There is no other user interaction required, and there are no tricks involved, like clickjacking. Just visiting an infected Website is enough to post a message that the attacker has chosen,” said Wueest.

Symantec advises users to log out of Facebook when they are not actively using it or to use script-blocking add-ons to prevent these kinds of attacks.

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.