Google flaw exposes weakness in two-factor authentication

A serious flaw recently discovered in Google's two-step login process for accessing its many services reflects the risks such a mechanism poses when broadly deployed.

Duo Security reported the vulnerability this week after notifying Google and giving it time to release a fix. Google's two-factor authentication process links a device to people's Google Accounts, so they don't have to login with a password each time they access the company's online services.

Because the double sign-in process, which includes password and device, was so widely deployed, Google had to make a few compromises in order to ensure user comfort.

These trade-offs are to be expected, given how Google is gradually taking its environment from a collection of individual apps, each with their own authentication process, to a single sign-on system that works across all its services, said Jon Oberheide, co-founder and chief technology officer for Duo Security.

"Coming up with a single, infrastructure-wide single sign-on platform is not a trivial task," Oberheide said.

A compromise Google made was in the creation of "application-specific passwords," or ASPs, Duo Security said. Google was forced to introduce ASPs because not all applications that have access to information in a person's Google Account support its two-factor authentication scheme.

[Also see: Google looks to kill passwords, but experts say not so fast]

Examples of such applications include email clients such as Microsoft Outlook, Apple Mail and Mozilla Thunderbird, chat clients and calendar applications.

To get these applications in the fold, Google created a page in Google Account that users could go to have Google generate an ASP that would authenticate the application and let it continue accessing user data. People had to copy and paste the Google-generated password into their apps.

Unfortunately for users, the ASP could also be used to log into almost any of Google's Web properties, including account settings, where a few modifications would give a hacker full control, Adam Goodman, principal security engineer for Duo Security, said in the company's blog.

On Feb. 21, Google pushed a fix to only allow people who use the normal two-step verification process to access security-sensitive settings.

The problem left Google users open to phishing attacks in which a spam email sends recipients to a site that tricks them into giving up their passwords.

In addition, people who use the same passwords on multiple sites would be vulnerable, since hackers who crack a password database on one site often use the recovered passwords to break into accounts on other sites.

Because Google generated a difficult-to-remember ASP, it was highly unlikely that people would use it on other sites, Duo Security said. Nevertheless, an attacker could create malware capable of finding and extracting an ASP on a user's system.

"In addition, thick-client applications, the primary consumer of ASPs, are rather notorious for poor SSL certificate verification, potentially allowing ASPs to be captured on the wire via MITM [man-in-the-middle] attacks," Goodman said.

While Google's fix tightened its two-factor security process, Duo Security recommended it go further and restrict as much as possible the privileges of individual ASPs.

However, given Google's complex environment, ASPs will likely always have access to more than one service. "With two-factor authentication, it's difficult to get it right," Oberheide said. "Even Google, with all its wisdom and skill, can make mistakes."

Read more about access control in CSOonline's Access Control section.

Join the CSO newsletter!

Error: Please check your email address.

Tags Duo Securitytwo-factor authenticationGoogleIdentity & Access | Access ControlNetworkingsecurityAccess control and authenticationaccess controlIdentity & Accessmanagement

More about AppleGoogleMicrosoftMozilla

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Antone Gonsalves

Latest Videos

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

  • 150x50

    IDG Live Webinar:The right collaboration strategy will help your business take flight

    Speakers - Mike Harris, Engineering Services Manager, Jetstar - Christopher Johnson, IT Director APAC, 20th Century Fox - Brent Maxwell, Director of Information Systems, THE ICONIC - IDG MC/Moderator Anthony Caruana

    Play Video

More videos

Blog Posts