• Advisory ID: DRUPAL-SA-CONTRIB-2012-098
  • Project: Janrain Capture (third-party module)
  • Version: 6.x, 7.x
  • Date: 2012-June-13
  • Security risk: Less critical
  • Exploitable from: Remote
  • Vulnerability: Open Redirect

Description

This module allows for authentication through the cloud user-management platform Janrain Capture. Part of the module exposes an endpoint to re-synchronize user data between Drupal and Capture and allows for passing an optional parameter to redirect the user back to an original location. This parameter was not checked to verify that it's an internal path, possibly leading to an open redirect vulnerability if the user was tricked into accessing the authentication workflow via a specially crafted URL.

An additional security weakness occurs when the module creates a new local user account. The input to the generated password should be unguessable, but could be partially discovered. For sites that allow both local and Capture logins, this could lead to easy brute-force guessing of the local password.

CVE: CVE-2012-2727

Versions affected

  • Janrain Capture 6.x-1.0
  • Janrain Capture 7.x-1.0

Drupal core is not affected. If you do not use the contributed Janrain Capture module, there is nothing you need to do.

Solution

Install the latest version:

If you are using this module and allow local logins, you may wish to regenerate the "random" local user passwords.

Also see the Janrain Capture project page.

Reported by

Fixed by

Coordinated by

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.