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.

Vulnerabilities / Threats

Researcher: Flaws In Facebook App Authorization Could Lead To Clickjacking

Vulnerabilities could enable attackers to collect data on Facebook users and friends, Dhanjani says

Vulnerabilities in the way members authorize the use of third-party applications in Facebook could potentially lead to loss of personal information or even targeted attacks on specific individuals, a security researcher said today.

Nitesh Dhanjani, a well-known security researcher and author of Hacking: The Next Generation, says he has discovered design flaws in Facebook that could allow attackers to collect the personal information of users on the social networking site, and even build profiles of "friends" that might facilitate direct attacks on specific individuals within a company.

The flaws were presented to Facebook in November; Dhanjani has agreed not to release specific code or other details for two weeks while technical staffers at the social networking site continue their efforts to patch the vulnerabilities. Dhanjani says he has begun to speak generally about the problem, without specifics.

The vulnerabilities center around the way Facebook enables users to place third-party applications on their social networking pages, Dhanjani says. In a nutshell, Facebook allows the use of third-party apps within the confines of the site, but only if the user authorizes them. "If you click on a link that requires a third-party application, you see a dialog box, and you have to click 'yes' to authorize it," Dhanjani explains. "Once you authorize its use, all of your information -- your user ID, your friends list, everything -- is shipped to the third party. I'm not sure people really understand what's happening to their data."

Worse, Facebook also has enabled some applications to provide "automatic" authorization, Dhanjani observes. "When the user visits the application from within the Facebook environment, Facebook inserts "a parameter," he states in a report about the vulnerability. "If this parameter is present when the application is rendered, the application is allowed to scour information from the user's profile. The intention in this situation is that if the user clicked on the application [rather than a third-party site that redirects the user], the user has implicitly granted some level of authorization."

Dhanjani calls this automated authorization a "design flaw" in Facebook, but the social networking site has chosen not to comment on this particular concern. "They want users to be able to use the applications more easily, so it's basically a business decision to leave it the way it is," he states.

However, Facebook is responding to Dhanjani's assertion that flaws in these authorization procedures could potentially be exploited to create clickjacking attacks.

"The goal is to write a rogue Facebook application that is rendered when a user visits a malicious third party Website," Dhanjani explains in his report. "If the user already has an established session in Facebook [on another browser tab or window], the third-party site can load the malicious Facebook application in an iFrame to identify the user and steal the user's Facebook information."

Since only part of the actual Facebook site is being displayed in the iFrame, the attacker is essentially executing a "clickjacking" attack, Dhanjani says. The attacker is essentially creating a malicious application that looks like a legitimate app -- and then when the user clicks on the right link, the malware uses Facebook's flawed authorization process to collect all of the user's Facebook data, including information about the user's "friends."

"We've already seen clickjacking work on Facebook, but those attacks were mostly used to spread spam to users and their friends," Dhanjani says. "What's happening in this case is that the attacker is using clickjacking to collect the data of the user, as well as the data on their friends. You could map that data to specific domains, such as users who are in a company and their friends."

Cybercriminals could potentially use such a flaw to collect data on specific individuals, Dhanjani warns. "If you want to install malware on the computer of a user in a particular business unit of [a corporation], for example, that's pretty hard to do with a traditional browser attack. But with this, you can actually target an individual or build a group of individuals that you want to target with a specific piece of malware."

It's hard to tell how dangerous these attacks might be because the severity of targeted attacks can't be measured in numbers of infections or numbers of instances detected, Dhanjani says. "But I would be very surprised if there aren't already [hackers] looking at this vulnerability," he says.

Dhanjani plans to provide more details on the vulnerability, including specifics on code, in about two weeks -- "Hopefully, after Facebook has fixed the problem," he says.

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message. Tim Wilson is Editor in Chief and co-founder of Dark Reading.com, UBM Tech's online community for information security professionals. He is responsible for managing the site, assigning and editing content, and writing breaking news stories. Wilson has been recognized as one ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Overcoming the Challenge of Shorter Certificate Lifespans
Mike Cooper, Founder & CEO of Revocent,  10/15/2020
US Counterintelligence Director & Fmr. Europol Leader Talk Election Security
Kelly Sheridan, Staff Editor, Dark Reading,  10/16/2020
7 Tips for Choosing Security Metrics That Matter
Ericka Chickowski, Contributing Writer,  10/19/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Special Report: Computing's New Normal
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
How IT Security Organizations are Attacking the Cybersecurity Problem
How IT Security Organizations are Attacking the Cybersecurity Problem
The COVID-19 pandemic turned the world -- and enterprise computing -- on end. Here's a look at how cybersecurity teams are retrenching their defense strategies, rebuilding their teams, and selecting new technologies to stop the oncoming rise of online attacks.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-5790
PUBLISHED: 2020-10-20
Cross-site request forgery in Nagios XI 5.7.3 allows a remote attacker to perform sensitive application actions by tricking legitimate users into clicking a crafted link.
CVE-2020-5791
PUBLISHED: 2020-10-20
Improper neutralization of special elements used in an OS command in Nagios XI 5.7.3 allows a remote, authenticated admin user to execute operating system commands with the privileges of the apache user.
CVE-2020-5792
PUBLISHED: 2020-10-20
Improper neutralization of argument delimiters in a command in Nagios XI 5.7.3 allows a remote, authenticated admin user to write to arbitrary files and ultimately execute code with the privileges of the apache user.
CVE-2020-25157
PUBLISHED: 2020-10-20
The R-SeeNet webpage (1.5.1 through 2.4.10) suffers from SQL injection, which allows a remote attacker to invoke queries on the database and retrieve sensitive information.
CVE-2020-25648
PUBLISHED: 2020-10-20
A flaw was found in the way NSS handled CCS (ChangeCipherSpec) messages in TLS 1.3. This flaw allows a remote attacker to send multiple CCS messages, causing a denial of service for servers compiled with the NSS library. The highest threat from this vulnerability is to system availability. This flaw...