- Advisory ID: DRUPAL-SA-CONTRIB-2016-018
- Project: HybridAuth Social Login (third-party module)
- Version: 7.x
- Date: 2016-April-06
- Security risk: 9/25 ( Less Critical) AC:Complex/A:User/CI:Some/II:None/E:Theoretical/TD:Default
- Vulnerability: Information Disclosure, Open Redirect
Description
The HybridAuth Social Login module enables you to allow visitors to authenticate or login to a Drupal site using their identities from social networks like Facebook or Twitter.
Open redirect
The module doesn’t verify the “destination” redirect after a login to be a non-external URL causing an open redirect vulnerability. This vulnerability can be used by any attacker crafting a special login link.
Information disclosure
The module doesn’t check the tokens in the “destination” redirect value allowing an attacker to specify arbitrary tokens. Any token value is exposed in the redirect URL.
This vulnerability is mitigated by the fact that there must be secret data on the site that is exposed through the token system (for example an access protected field). An attacker must have a knowledge on what fields/tokens contain secret information.
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance with Drupal Security Team processes.
Versions affected
- HybridAuth Social Login 7.x-2.x versions prior to 7.x-2.15.
Drupal core is not affected. If you do not use the contributed HybridAuth Social Login module, there is nothing you need to do.
Solution
Install the latest version:
- If you use the HybridAuth Social Login module for Drupal 7.x, upgrade to HybridAuth Social Login 7.x-2.15
Also see the HybridAuth Social Login project page.
Reported by
- Klaus Purer of the Drupal Security Team
Fixed by
- Andrew Berezovsky the module maintainer
- Klaus Purer of the Drupal Security Team
Coordinated by
- Klaus Purer 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 https://www.drupal.org/contact.
Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.
Follow the Drupal Security Team on Twitter at https://twitter.com/drupalsecurity