Search for blog posts, documentation, or pages

Update: Fixed! Duo WordPress Plugin 2.2 Now Available

Duo/WordPress admins/users are advised to download the most recent plugin version 2.2 that fixes the multisite bypass issue.

For a full explanation of our fix, check out our blog, Duo Security’s WordPress Plugin Updated to Address Multisite Vulnerability!

Original blog:

We recently discovered a vulnerability in our duo_wordpress plugin, employed by users to protect their WordPress blogs and sites with our two-factor authentication service. The vulnerability only affects a subset of WordPress deployment models, namely, “Multisite” deployments where the plugin is enabled on an individual per-site basis. The impact of the vulnerability may allow a user of one site of a multisite WordPress deployment to bypass the second factor of authentication of another site.

Clarifying the Impact

As part of our security response program, we notified our customers this morning of the vulnerability. The full advisory sent to customers can be found here.

Throughout the afternoon, we observed some reactions on social media sites to our notification. There were several instances of misinformation being spread (eg. that normal non-Multisite deployments were affected, that people should completely disable the duo_wordpress plugin, etc), so we thought it was prudent to write this post to clarify the scope of the issue and prevent any further misinformation.

To reiterate the impact of the vulnerability:

  • Only WordPress “Multisite” deployments that have chosen to deploy the plugin on an individual site basis are affected.

  • Normal WordPress deployments or Multisite deployments with the plugin enabled globally are NOT affected.

  • The user must still present correct primary authentication (eg. username and password); only the second factor is bypassed.

The Broader Impact

As it turns out, the vulnerability discovered by our engineers is not unique to the duo_wordpress plugin. We’ve determined that authentication plugins from other two-factor vendors are similarly affected by this vulnerability. We’re no stranger to helping our competitors discover and fix vulnerabilities in their integrations, so we’ve reached out to the affected vendors to share our findings.

If you’re using a WordPress two-factor plugin other than duo_wordpress, you should check with the upstream vendor to see if your plugin is affected. Also, if you’re not yet using duo_wordpress, you should check it out! :-)

Towards a Fix

We’re continuing to work internally to devise a permanent fix to the discovered issue and are engaging with WordPress, as core modifications to the WordPress plugin architecture may be necessary to properly fix the issue. We will be providing additional information to our customers as it becomes available.

In the meantime, as the advisory states, we have recommended a workaround for WordPress Multisite deployments: enable duo_wordpress globally, and disable it for specific user roles.

If you’re interested in the technical details of the issue, read on!

Appendix: Technical Details

WordPress’ plugin architecture is designed such that our plugin is called after primary authentication has succeeded, but only for the blog/site the user is authenticating against. Since other WordPress sites in the same multisite network can authenticate each others’ users, a user of one blog can provide their primary credentials to another (non-2FA-enabled) blog in that network. Assuming primary authentication succeeds, the user will be redirected back to blog they’re a member of, fully authenticated without ever hitting a two-factor prompt.

Perhaps this is best explained with a fancy flowchart. Consider two users, Alice and Bob, who are members of the WordPress blog “Site1”, part of a multisite network which includes the “Site2” blog. Site1 has duo_wordpress enabled, and all user roles are subject to two-factor authentication. Site2, however, has duo_wordpress disabled. If Alice browses to Site1 like normal, she will need to provide both primary credentials as well as pass second factor authentication in order to log in. However, Bob browses to the login page for Site2, where he provides his Site1 credentials. Once he passes primary auth, he is redirected straight to Site1.

@jonoberheide

Jon Oberheide
Co-Founder and CTO

Jon is the co-founder and CTO of Duo Security, responsible for leading product vision and the Duo Labs advanced research team. Before starting Duo, Jon was a self-loathing academic, completing his PhD at the University of Michigan in the realm of cloud security. In a prior life, Jon enjoyed offensive security research and generally hacking the planet. Jon was recently named to Forbes "30 under 30" list for his mobile security hijinks.

Categories

Free Guide

Two-Factor Authentication Evaluation Guide

This guide walks through some of the key areas of differentiation between two-factor authentication solutions and provides some concrete criteria for evaluating technologies and vendors.

Tags

phishing (18)  security news (17)  two-factor-authentication (15)  healthcare security (14)  passwords (14)  weekly ink (13)  cloud security (9)  infosec-evolution (9)  malware (9)  rsac2015 (8)  federal cybersecurity (8)  retail data breaches (7)  duo mobile (7)  banking security (7)  ooba (6)  pci dss (6)  2fa (6)  financial institutions (6)  stolen-passwords (6)  financial data breach (6)  encryption (5)  stolen credentials (5)  webinar (5)  transaction-level 2fa (5)  atms (5)  data breaches (5)  healthit (4)  mobile security (4)  hipaa (4)  third-party security (4)  data breach notification (4)  medical identity theft (4)  healthcare cybersecurity (4)  remote access security (4)  pos malware (4)  vulnerability (4)  bank security (4)  retail (4)  retail data security (4)  uk security (3)  iot security (3)  health it (3)  anthem (3)  rig exploit kit (3)  strong-authentication (3)  platform edition (3)  defense in depth (3)  otp bypass (3)  payment card breach (3)  media security (3)  law firm security (3)  ffiec (3)  twitter (3)  remote access attacks (3)  retail data risks (3)  ssl (3)  critical infrastructure security (3)  manufacturing security (3)  two-factor (3)  security threats (3)  dyre trojan (3)  target (3)  home depot (3)  higher education (3)  retail ebook (3)  e-prescriptions (3)  hipaa security rule (3)  google (3) 

Duo is hiring!

View our open positions

Subscribe to our Newsletter

Get product updates, interesting content, and invitations to online and live events.