• Advisory ID: DRUPAL-SA-CONTRIB-2014-004
  • Project: Secure Cookie Data (third-party module)
  • Version: 7.x
  • Date: 2014-January-22
  • Security risk: Moderately critical
  • Exploitable from: Remote
  • Vulnerability: Information Disclosure, Multiple vulnerabilities

Description

This module allows for storing data securely in a cookie through implementing the Secure Cookie Protocol.

Ability to alter trusted data in the cookie

The module did an incorrect comparison of the HMAC value, allowing a bypass of the HMAC verification which allows changing the cookie value.

Known encryption key value

The key for the HMAC provided a default that was hardcoded. The module relied on the extension of the base class to provide a per site specific key.

CVE identifier(s) issued

  • A CVE identifier will be requested, and added upon issuance, in accordance with Drupal Security Team processes.

Versions affected

  • Secure Cookie Data 7.x-2.x versions prior to 7.x-2.1.

Drupal core is not affected. If you do not use the contributed Secure Cookie Data module, there is nothing you need to do.

Solution

Install the latest version:

Also see the Secure Cookie Data 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.


Follow the Drupal Security Team on Twitter at https://twitter.com/drupalsecurity