Beginning on October 25th, 2016, Persona will no longer be an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 719296 - Malicious "YouTube Player" add-on
: Malicious "YouTube Player" add-on
Product: Toolkit
Classification: Components
Component: Blocklisting (show other bugs)
: unspecified
: All All
: -- normal (vote)
: ---
Assigned To: Jorge Villalobos [:jorgev]
: Jorge Villalobos [:jorgev]
Depends on:
  Show dependency treegraph
Reported: 2012-01-18 17:30 PST by MarkH
Modified: 2016-03-07 15:30 PST (History)
4 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

youtube_player.xpi (59.95 KB, text/plain)
2012-01-18 17:30 PST, MarkH
no flags Details

Description MarkH 2012-01-18 17:30:50 PST
Created attachment 589718 [details]

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7

Steps to reproduce:

User's on Facebook are being encouraged to click on a link to

This redirects to with a fake video, asking the user to click on it to upgrade their video player

Clicking with push one of two malicious browser extensions:


Actual results:

From the Firefox .xpi file, the "ff-overlay.js" file:

if on, redir to

if on, do

grab post_form_id, fb_dtsg from DOM
grab c_user cookie

pick a message at random from one of the following:

msg[0]=" das wirst du niemals glauben, die Frau hat echt nen Wurm im Kopf";       
msg[1]=", Gott die Frau hat einen Wurm im Kopf";
msg[2]=" zieh dir das video rein";
msg[3]=" die meisten können das video nicht bis zum ende ansehen, du denn";
msg[4]=" sowas hast du noch nicht gesehen. schau es dir an";
msg[5]=" das ist echt unglaublich!";
msg[6]=" das schrecklichste video ever";
msg[7]=" oh mein Gott...";
msg[8]=" einfach nur krass";
msg[9]=" diese Frau hat echt einen Wurm im Kopf ... Unglaublich";
msg[10]=" no comment";
msg[11]=" ich sag dir, du wirst kotzen";

Post to /ajax/pages/fan_status.php?__a=1 (http + https)
to be a fan of 193608230734197 ("We love Amazon" page)

goes through the buddy list, extracts online friends
and then sends to each one via /ajax/sharer/submit/?__a=1 
a link to 271819969526779 (a deleted page for a spammy video)

Posts to all friends' walls:
a link to 271819969526779 (a deleted page for a spammy video)

Expected results:

It shouldn't steal Facebook data from cookies and the DOM, to then send messages to Facebook users via the user's account.
Comment 1 Jorge Villalobos [:jorgev] 2012-01-19 08:19:21 PST
Id: ff-ext@youtube
Comment 2 Jorge Villalobos [:jorgev] 2012-01-19 08:27:18 PST
Comment 3 Jorge Villalobos [:jorgev] 2012-01-19 08:27:47 PST
Here it is:
Comment 4 Justin Scott [:fligtar] 2012-01-19 21:14:48 PST
Please file these bugs in Blocklisting component in the future.

Note You need to log in before you can comment on or make changes to this bug.