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

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.

(Source: Pixabay)
(Source: Pixabay)

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
Edge-DRsplash-10-edge-articles
I Smell a RAT! New Cybersecurity Threats for the Crypto Industry
David Trepp, Partner, IT Assurance with accounting and advisory firm BPM LLP,  7/9/2021
News
Attacks on Kaseya Servers Led to Ransomware in Less Than 2 Hours
Robert Lemos, Contributing Writer,  7/7/2021
Commentary
It's in the Game (but It Shouldn't Be)
Tal Memran, Cybersecurity Expert, CYE,  7/9/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
The 10 Most Impactful Types of Vulnerabilities for Enterprises Today
Managing system vulnerabilities is one of the old est - and most frustrating - security challenges that enterprise defenders face. Every software application and hardware device ships with intrinsic flaws - flaws that, if critical enough, attackers can exploit from anywhere in the world. It's crucial that defenders take stock of what areas of the tech stack have the most emerging, and critical, vulnerabilities they must manage. It's not just zero day vulnerabilities. Consider that CISA's Known Exploited Vulnerabilities (KEV) catalog lists vulnerabilitlies in widely used applications that are "actively exploited," and most of them are flaws that were discovered several years ago and have been fixed. There are also emerging vulnerabilities in 5G networks, cloud infrastructure, Edge applications, and firmwares to consider.
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2023-1172
PUBLISHED: 2023-03-17
The Bookly plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the full name value in versions up to, and including, 21.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that w...
CVE-2023-1469
PUBLISHED: 2023-03-17
The WP Express Checkout plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘pec_coupon[code]’ parameter in versions up to, and including, 2.2.8 due to insufficient input sanitization and output escaping. This makes it possible for authenti...
CVE-2023-1466
PUBLISHED: 2023-03-17
A vulnerability was found in SourceCodester Student Study Center Desk Management System 1.0. It has been rated as critical. This issue affects the function view_student of the file admin/?page=students/view_student. The manipulation of the argument id with the input 3' AND (SELECT 2100 FROM (SELECT(...
CVE-2023-1467
PUBLISHED: 2023-03-17
A vulnerability classified as critical has been found in SourceCodester Student Study Center Desk Management System 1.0. Affected is an unknown function of the file Master.php?f=delete_img of the component POST Parameter Handler. The manipulation of the argument path with the input C%3A%2Ffoo.txt le...
CVE-2023-1468
PUBLISHED: 2023-03-17
A vulnerability classified as critical was found in SourceCodester Student Study Center Desk Management System 1.0. Affected by this vulnerability is an unknown functionality of the file admin/?page=reports&date_from=2023-02-17&date_to=2023-03-17 of the component Report Handler. The manipula...