Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Operational Security //

Data Leakage

4/20/2018
09:35 AM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

Login With Facebook & Watch Your Personal Data Leak

A common feature on many popular websites allows users to login with their Facebook profile. However, a trio of Princeton researchers show that this feature allows personal information to leak and be collected.

It's now common for websites to use a "Login with Facebook" button on their sites as a convenience for users. However, security researchers from Princeton University have discovered that some advertising and analytics services are siphoning user data from these pages when such a button is present.

In their posting, Princeton's Steven Englehardt, Gunes Acar and Arvind Narayanan found insecure design practices allowed at least seven third parties to abuse the websites' access to Facebook user data on 434 of the top 1 million sites.

What happens is that the user clicks the Facebook button, and the Facebook servers will respond with the Facebook account data, which has been previously authorized for that specific site.

However, there may be third-party JavaScript code on the login page, which can intercept this authorized data and extract user details from it.

Trusted websites can request the user's email address and "public profile" -- name, age range, gender, locale and profile photo -- without triggering a review by Facebook. Once the user allows the website to access Facebook, the researchers found that any third-party Javascript embedded in the page can also retrieve the user's Facebook information as if they were the website.

In their report, the three researchers noted: "We believe the websites embedding these scripts are likely unaware of this particular data access."

Even though the user ID collected through the Facebook API will be specific to the requesting website -- this would limit cross-site tracking -- the IDs can be used to retrieve the global Facebook ID, user's profile photo and other public profile information.

This information can then be used to identify and track users across websites and devices.

Another misuse of this Facebook login that the researchers found could trick a user to logging in with Facebook without realizing that they were doing so. They discovered that there was a hidden iframe that was injected, and this would pass the user's information to the embedding script indiscriminately. That meant that any malicious site could have used that iframe to identify visitors.


The fundamentals of network security are being redefined -- don't get left in the dark by a DDoS attack! Join us in Austin from May 14-16 at the fifth-annual Big Communications Event. There's still time to register and communications service providers get in free!

The researchers think this is a bigger problem than just one that can be laid at Facebook's feet. They wrote in their blog:

This unintended exposure of Facebook data to third parties is not due to a bug in Facebook's Login feature. Rather, it is due to the lack of security boundaries between the first-party and third-party scripts in today's web.

The Princeton team realize that what they have described is likely to exist for most social login providers and on mobile devices. Indeed, they found scripts which appear to grab user identifiers from the Google Plus API, as well as from the Russian social media site VK, but did not go into detail about them.

It's the social network that will ultimately have to deal with these problems. Tightening the use of app-scoped IDs may help.

Related posts:

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 8/3/2020
'BootHole' Vulnerability Exposes Secure Boot Devices to Attack
Kelly Sheridan, Staff Editor, Dark Reading,  7/29/2020
Pen Testers Who Got Arrested Doing Their Jobs Tell All
Kelly Jackson Higgins, Executive Editor at Dark Reading,  8/5/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Special Report: Computing's New Normal, a Dark Reading Perspective
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
The Threat from the Internetand What Your Organization Can Do About It
The Threat from the Internetand What Your Organization Can Do About It
This report describes some of the latest attacks and threats emanating from the Internet, as well as advice and tips on how your organization can mitigate those threats before they affect your business. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-17364
PUBLISHED: 2020-08-05
USVN (aka User-friendly SVN) before 1.0.9 allows XSS via SVN logs.
CVE-2020-4481
PUBLISHED: 2020-08-05
IBM UrbanCode Deploy (UCD) 6.2.7.3, 6.2.7.4, 7.0.3.0, and 7.0.4.0 is vulnerable to an XML External Entity Injection (XXE) attack when processing XML data. A remote attacker could exploit this vulnerability to expose sensitive information or consume memory resources. IBM X-Force ID: 181848.
CVE-2020-5608
PUBLISHED: 2020-08-05
CAMS for HIS CENTUM CS 3000 (includes CENTUM CS 3000 Small) R3.08.10 to R3.09.50, CENTUM VP (includes CENTUM VP Small, Basic) R4.01.00 to R6.07.00, B/M9000CS R5.04.01 to R5.05.01, and B/M9000 VP R6.01.01 to R8.03.01 allows a remote unauthenticated attacker to bypass authentication and send altered c...
CVE-2020-5609
PUBLISHED: 2020-08-05
Directory traversal vulnerability in CAMS for HIS CENTUM CS 3000 (includes CENTUM CS 3000 Small) R3.08.10 to R3.09.50, CENTUM VP (includes CENTUM VP Small, Basic) R4.01.00 to R6.07.00, B/M9000CS R5.04.01 to R5.05.01, and B/M9000 VP R6.01.01 to R8.03.01 allows a remote unauthenticated attacker to cre...
CVE-2020-8607
PUBLISHED: 2020-08-05
An input validation vulnerability found in multiple Trend Micro products utilizing a particular version of a specific rootkit protection driver could allow an attacker in user-mode with administrator permissions to abuse the driver to modify a kernel address that may cause a system crash or potentia...