Feeds

Crusty API opened Facebook accounts to hijacking

Dodgy endpoint earnt research 20 large

Choosing a cloud hosting partner with confidence

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. ®

Internet Security Threat Report 2014

More from The Register

next story
FYI: OS X Yosemite's Spotlight tells Apple EVERYTHING you're looking for
It's on by default – didn't you read the small print?
Russian hackers exploit 'Sandworm' bug 'to spy on NATO, EU PCs'
Fix imminent from Microsoft for Vista, Server 2008, other stuff
Edward who? GCHQ boss dodges Snowden topic during last speech
UK spies would rather 'walk' than do 'mass surveillance'
Microsoft pulls another dodgy patch
Redmond makes a hash of hashing add-on
NOT OK GOOGLE: Android images can conceal code
It's been fixed, but hordes won't have applied the upgrade
'LulzSec leader Aush0k' found to be naughty boy not worthy of jail
15 months home detention leaves egg on feds' faces as they grab for more power
China is ALREADY spying on Apple iCloud users, claims watchdog
Attack harvests users' info at iPhone 6 launch
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 and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.