Feeds

Weaponised Flash flaw can pinch just about anything from anywhere

This is a 'patch now or regret it sooner-rather-than-later' mess for you and webmasters

5 things you didn’t know about cloud backup

Get cracking with the latest Flash upgrade, because the vulnerability it patches is a peach, allowing a cross-site request forgery (CSRF) attack for stealing user credentials.

According to the Switzerland-based Google engineer that turned up the vulnerability, Michele Spagnuolo, sites that are/were vulnerable to the attack included various Google domains, YouTube, Twitter, Instagram, Tumblr and eBay.

“I present Rosetta Flash, a tool for converting any SWF file to one composed of only alphanumeric characters in order to abuse JSONP endpoints, making a victim perform arbitrary requests to the domain with the vulnerable endpoint and exfiltrate potentially sensitive data, not limited to JSONP responses, to an attacker-controlled site,” Spagnuolo writes.

Rosetta Flash takes a combination of three characteristics of Flash and JSONP which he says were all “well known” but ignored, since nobody had previously worked out how to combine them into an attack.

Rosetta Flash diagram

Rosetta Flash creates alphanumeric-only SWFs that can be used to embed a JSONP CSRF attack.

Image: Michale Spagnuolo

The first component of the attack is that a SWF file can perform cookie-carrying GET and POST requests to the domain that hosts it, with no cross-domain checks. As a result, Spagnuolo writes, a site that lets attackers upload SWF files on a sensitive domain “can make the victim perform requests that have side effects and exfiltrate sensitive data to an external, attacker-controlled, domain”.

The second part of the attack uses JSONP: this, he writes, “allows an attacker to control the first bytes of the output of an endpoint by specifying the callback parameter in the request URL”. JSONP is usually restricted to alphabetic characters only – and this is where Spagnuolo's Rosetta Flash tool turns the SWF/JSONP combo into an attack.

The third part is that an SWF file (with a content type-forcing tag) will be executed if it looks like a valid Flash file – so a modified malicious file on an attacker's domain can be the vector.

Rosetta Flash (at github) is the key tool in all of this: it takes the binary data in an SWF, and maps all the non-alphabetic bytes to the alphabet. That means a malicious SWF will be recognised and executed (the full details of his brute-forcing techniques are described in detail at his blog post).

In the proof-of-concept, Spagnuolo demonstrates how to get parameters passed as FlashVars to perform a GET request with the victim's cookie, and POST a variable with the exfiltrated data.

For those whose browsers don't auto-update, Adobe has pushed a Flash update here, and Google (which he notified privately) has fixed its domains. According to Ars, Tumblr has been patched.

As well as the blog post, Spagnuolo has published a slide set here. ®

Secure remote control for conventional and virtual desktops

More from The Register

next story
Ice cream headache as black hat hacks sack Dairy Queen
I scream, you scream, we all scream 'DATA BREACH'!
Goog says patch⁵⁰ your Chrome
64-bit browser loads cat vids FIFTEEN PERCENT faster!
NIST to sysadmins: clean up your SSH mess
Too many keys, too badly managed
JLaw, Kate Upton exposed in celeb nude pics hack
100 women victimised as Apple iCloud accounts reportedly popped
Scratched PC-dispatch patch patched, hatched in batch rematch
Windows security update fixed after triggering blue screens (and screams) of death
Researchers camouflage haxxor traps with fake application traffic
Honeypots sweetened to resemble actual workloads, complete with 'secure' logins
Attack flogged through shiny-clicky social media buttons
66,000 users popped by malicious Flash fudging add-on
New Snowden leak: How NSA shared 850-billion-plus metadata records
'Federated search' spaffed info all over Five Eyes chums
Three quarters of South Korea popped in online gaming raids
Records used to plunder game items, sold off to low lifes
Oz fed police in PDF redaction SNAFU
Give us your metadata, we'll publish your data
prev story

Whitepapers

Endpoint data privacy in the cloud is easier than you think
Innovations in encryption and storage resolve issues of data privacy and key requirements for companies to look for in a solution.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Advanced data protection for your virtualized environments
Find a natural fit for optimizing protection for the often resource-constrained data protection process found in virtual environments.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.