Feeds

Crusty API opened Facebook accounts to hijacking

Dodgy endpoint earnt research 20 large

Security for virtualized datacentres

A leftover API that Facebook forgot to kill has left accounts open to spammers and scammers, says security Stephen Sclafani. The flaw means an attacker could view other users' messages and post status updates.

Sclafani found that a then mis-configured endpoint, since patched, allowed legacy REST API calls to be made on behalf of any Facebook fanatic provided their user ID was known.

The REST API endpoint was the still-active predecessor of Facebook's core Graph API that allowed developers to read and write data to Facebook.

Skilled attackers could exploit the vector to gain almost the same control of accounts as legitimate users. They could update users' statuses including posting links to friend timelines; publish and delete comments and notes; upload and delete photos, and 'like' content.

Sclafani said the API authentication flows were also vulnerable allowing for full account takeover, but were less likely to be successful as users had to click on an attackers' links.

"All of this could be done without any interaction on the part of the user," Sclafani (@Stephen) said.

"Both the REST API web and desktop authentication flows were vulnerable to CSRF (cross-site request forgery) issues that led to full account takeover.

The legacy API was still used by many applications including Facebook's mobile app and so was not simply discarded, Facebook's security team said.

While there was no indication the flaw was exploited, nefarious minds could concoct a variety of means to monetise exploitation by blackmailing users of sensitive or high-profile accounts or by spamming inboxes.

Sclafani reported the flaw to Facebook in April and published details part one of a two-part blog this week. Menlo Park paid him a tidy $20,000 under its bug bounty program.

Loads of technical details are available on his blog. ®

Secure remote control for conventional and virtual desktops

More from The Register

next story
NASTY SSL 3.0 vuln to be revealed soon – sources (Update: It's POODLE)
So nasty no one's even whispering until patch is out
Russian hackers exploit 'Sandworm' bug 'to spy on NATO, EU PCs'
Fix imminent from Microsoft for Vista, Server 2008, other stuff
Forget passwords, let's use SELFIES, says Obama's cyber tsar
Michael Daniel wants to kill passwords dead
FBI boss: We don't want a backdoor, we want the front door to phones
Claims it's what the Founding Fathers would have wanted – catching killers and pedos
Kill off SSL 3.0 NOW: HTTPS savaged by vicious POODLE
Pull it out ASAP, it is SWISS CHEESE
Facebook slurps 'paste sites' for STOLEN passwords, sprinkles on hash and salt
Zuck's ad empire DOESN'T see details in plain text. Phew!
Admins! Never mind POODLE, there're NEW OpenSSL bugs to splat
Four new patches for open-source crypto libraries
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
Win a year’s supply of chocolate
There is no techie angle to this competition so we're not going to pretend there is, but everyone loves chocolate so who cares.
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?
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.