- Advisory ID: DRUPAL-SA-CONTRIB-2013-047
- Project: Google Authenticator login (third-party module)
- Version: 6.x, 7.x
- Date: 2013-May-15
- Security risk: Moderately critical
- Exploitable from: Remote
- Vulnerability: Access bypass
Description
This module will allow you to add Time-based One-time Password Algorithm (also called "Two Step Authentication" or "Multi-Factor Authentication") support to user logins. It works with Google's Authenticator app system and support most (if not all) OATH based HOTP/TOTP systems.
Accidental removal of account configuration
In certain scenarios, Google Authenticator login incorrectly determines the user's account name. The change in account name could cause the two-factor authentication for existing accounts to be lost, allowing users to log in using just username and password.
This vulnerability is mitigated by the fact while Google Authenticator login's additional verification is by-passed, a username and password are still required to log in.
One-time password (OTP) replay
If an attacker can intercept a login request with a username, password and OTP, an attacker could use this same data again to login to the website.
This vulnerability is mitigated by the fact that an attacker who can intercept a login request with this level of detail can usually also intercept the ongoing session identifying token.
CVE identifier(s) issued
- Accidental removal of account configuration: CVE-2013-4177
- One-time password (OTP) replay: CVE-2013-4178
Versions affected
- Google Authenticator login 6.x-1.x versions prior to 6.x-1.2.
- Google Authenticator login 7.x-1.x versions prior to 7.x-1.4.
Drupal core is not affected. If you do not use the contributed Google Authenticator login module, there is nothing you need to do.
Solution
Install the latest version:
- If you use the Google Authenticator login module for Drupal 6.x, upgrade to Google Authenticator login module 6.x-1.2
- If you use the Google Authenticator login module for Drupal 7.x, upgrade to Google Authenticator login module 7.x-1.4
Also see the Google Authenticator login project page.
Reported by
- Ivo Van Geertruyen of the Drupal Security Team
- Lode Vanstechelman
Fixed by
- Peter Droogmans the module maintainer
- Jelle Sebreghts the module maintainer
- Ivo Van Geertruyen of the Drupal Security Team
Coordinated by
- Ivo Van Geertruyen of the Drupal Security Team
Contact and More Information
The Drupal security team can be reached at security at drupal.org or via the contact form at http://drupal.org/contact.
Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.