Feeds

Web 2.0 worm downs MySpace

Angle bracket defenses breached

Providing a secure and efficient Helpdesk

It's been a rough weekend for Tomorrow's People. A JavaScript exploit that has been called the first "Web 2.0 worm" knocked out MySpace.com - and the $500m-valued website, recently acquired by Rupert Murdoch's News Corp - was still struggling to get back on its feet two days later.

The cunning JavaScript exploit added a million users as "friends", forcing the site offline. Service was restored on Friday but two days later the site was still struggling with the consequences, serving pages at a glacial pace.

A Google fan blog calls it "truly Web 2.0" - the buzzword attached to the latest attempt to generate a hype around the internet's most popular presentation layer. Paul Bissex has a lucid explanation.

The exploit used XSS scripting, and was made possible by allowing users to inject their own JavaScript onto their blog pages.

So is the highly-Emergent angle bracket crowd redoing Windows on the web with AJAX, using Microsoft as a security model? Yes, but actually it's even worse than that, reckons Paul.

"The Wikipedia article on XSS divides exploits into Type 0, Type 1, Type 2. The description of Type 2 (the most severe) notes that it involves script code stored on the server (as in this case), but says that the attacker "may not need to use the web application itself to exploit such a hole."

"I'd say we now have a new type - Type 3 - in which the web application is an integral part of the exploit," he writes.

You can read a technical explanation of the code here, and an interview with its author 'Samy' here.

'Samy' puts the blame on the browsers.

"The reason I was still able to get JavaScript past their filters is by using browsers’ leniencies. With a little finagling, I could get JavaScript to execute on some browsers, even though the actual code wasn’t valid. It was the browsers that mistakenly executed JavaScript when they shouldn’t have."

So real life imitates parody.

Samy says the worm was his first attempt at learning 'AJAX' and it took only a week of studying one hour a day to develop:

"The worm was my intro to and first time using Ajax, and I learned a few other things while developing it. I spent an hour or two a day trying to do something new on MySpace for about a week. After one week, I put a few of the things developed into one big piece and had the resulting worm."

Which recalls Verity Stob's sudden breakthrough after years of trying to make sense of Microsoft's inadequate scripting documentation:

"I for one still feel a thrill of excitement and surprise when Word does what I asked it to, often followed by a second thrill, of a different kind, when it abruptly stops doing so," she wrote in 1998.

"For a long time the big problem with Automation, in my opinion, was the lack of robust and realistic examples showing what it could do—especially where Outlook was concerned. Happily this shortcoming has in recent times been addressed, and addressed in spades.

"Of all the script viruses, “I Love You” is still my preferred source of useful snippets for manipulating the Outlook address book, even if its author does insist on spelling mail “male.” By the way, ILY also contains some good stuff demonstrating the VB file system object - I would lobby for its inclusion in MSDN, but I suppose it is too late now."

As we pointed out in our review of the "Web 2.0 hype", what happens when you allow presentation layer people - wiki-fiddlers - to write real systems?

A predictable disaster. ®

Choosing a cloud hosting partner with confidence

More from The Register

next story
SMASH the Bash bug! Apple and Red Hat scramble for patch batches
'Applying multiple security updates is extremely difficult'
Shellshock: 'Larger scale attack' on its way, warn securo-bods
Not just web servers under threat - though TENS of THOUSANDS have been hit
Apple's new iPhone 6 vulnerable to last year's TouchID fingerprint hack
But unsophisticated thieves need not attempt this trick
Hackers thrash Bash Shellshock bug: World races to cover hole
Update your gear now to avoid early attacks hitting the web
Oracle SHELLSHOCKER - data titan lists unpatchables
Database kingpin lists 32 products that can't be patched (yet) as GNU fixes second vuln
Who.is does the Harlem Shake
Blame it on LOLing XSS terroristas
Researchers tell black hats: 'YOU'RE SOOO PREDICTABLE'
Want to register that domain? We're way ahead of you.
Stunned by Shellshock Bash bug? Patch all you can – or be punished
UK data watchdog rolls up its sleeves, polishes truncheon
prev story

Whitepapers

A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Beginner's guide to SSL certificates
De-mystify the technology involved and give you the information you need to make the best decision when considering your online security options.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.