- Jun 9, 2013
- 6,720
Signing into secure websites with Facebook or Google is awfully convenient—especially when using a mobile device. But widespread, incorrect usages of a foundational technology by third-party mobile app developers gives hackers almost-effortless access to more than one billion apps and millions of devices.
A study from Ronghai Yang, Wing Cheong Lau and Tianyu Liu of the University of Hong Kong shows that implementation flaws with the OAuth2.0 protocol can be exploited remotely to sign into a victim’s mobile app account without any involvement or awareness of the victim.
OAuth has been widely adopted by mainstream identity providers (IdPs) to support single-sign-on service—yet it doesn’t specify how it can securely interact with third parties. This has led to a number of bespoke implementations, many of them rife with flaws.
“Unfortunately, the implicit security assumptions and operational requirements of such home-brewed adaptations/APIs are often not clearly documented or well-understood by the third-party mobile app developers,” the researchers wrote in the paper. “Worse still, there is also a lack of security-focused SSO-API-usage-guidelines for the third-party app developers.”
The researchers examined 600 top US and Chinese mobile apps that leverage OAuth 2.0 APIs from Facebook, Google and China’s Sina to authenticate users. They found that 41.2% percent of them—which collectively have been downloaded 2.4 million times—can be compromised.
The vector is an attacker-owned SSL man-in-the-middle proxy that allows hackers to sign into a victim’s app using their own credentials. Once the hackers are in, they can use these popular dating, travel, shopping, hotel booking, finance, chat, music and news apps for a range of nefarious deeds, including making free phone calls and making fraudulent purchases.
Full Article. 'Sign in with Facebook' Threatens Millions of Devices
A study from Ronghai Yang, Wing Cheong Lau and Tianyu Liu of the University of Hong Kong shows that implementation flaws with the OAuth2.0 protocol can be exploited remotely to sign into a victim’s mobile app account without any involvement or awareness of the victim.
OAuth has been widely adopted by mainstream identity providers (IdPs) to support single-sign-on service—yet it doesn’t specify how it can securely interact with third parties. This has led to a number of bespoke implementations, many of them rife with flaws.
“Unfortunately, the implicit security assumptions and operational requirements of such home-brewed adaptations/APIs are often not clearly documented or well-understood by the third-party mobile app developers,” the researchers wrote in the paper. “Worse still, there is also a lack of security-focused SSO-API-usage-guidelines for the third-party app developers.”
The researchers examined 600 top US and Chinese mobile apps that leverage OAuth 2.0 APIs from Facebook, Google and China’s Sina to authenticate users. They found that 41.2% percent of them—which collectively have been downloaded 2.4 million times—can be compromised.
The vector is an attacker-owned SSL man-in-the-middle proxy that allows hackers to sign into a victim’s app using their own credentials. Once the hackers are in, they can use these popular dating, travel, shopping, hotel booking, finance, chat, music and news apps for a range of nefarious deeds, including making free phone calls and making fraudulent purchases.
Full Article. 'Sign in with Facebook' Threatens Millions of Devices