- Advisory ID: DRUPAL-SA-CONTRIB-2017-034
- Project: Auto Login URL (third-party module)
- Version: 7.x, 8.x
- Date: 2017-April-05
- Security risk: 8/25 ( Less Critical) AC:Complex/A:None/CI:None/II:None/E:Theoretical/TD:Default
- Vulnerability: Access bypass
Description
This module lets you create auto login URLs programmatically on demand and through tokens.
The module does not provide sufficient protection when generating login URLs. An attacker could rebuild login URLs independently thereby logging in as another user.
This vulnerability is mitigated by the fact that an attacker needs to be able to exactly guess the second when a login URL was generated for a user. Furthermore the attacker also needs to know the victim user ID and login destination of the generated login URL. The attack is also mitigated by the fact that the module has flood control, so an attacker has only limited attempts to guess login URLs.
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance with Drupal Security Team processes.
Versions affected
- Auto Login URL 8.x-1.x versions prior to 8.x-1.2.
- Auto Login URL 7.x-1.x versions prior to 7.x-1.7.
Drupal core is not affected. If you do not use the contributed Auto Login URL module, there is nothing you need to do.
Solution
Install the latest version:
- If you use the Auto Login URL module for Drupal 8.x, upgrade to Auto Login URL 8.x-1.2
- If you use the Auto Login URL module for Drupal 7.x, upgrade to Auto Login URL 7.x-1.7
Also see the Auto Login URL project page.
Reported by
- Klaus Purer of the Drupal Security Team
Fixed by
- Thanos Nokas 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