Description

Session hijacking (Drupal 6 and 7)

A specially crafted request can give a user access to another user's session, allowing an attacker to hijack a random session.

This attack is known to be possible on certain Drupal 7 sites which serve both HTTP and HTTPS content ("mixed-mode"), but it is possible there are other attack vectors for both Drupal 6 and Drupal 7.

Denial of service (Drupal 7 only)

Drupal 7 includes a password hashing API to ensure that user supplied passwords are not stored in plain text.

A vulnerability in this API allows an attacker to send specially crafted requests resulting in CPU and memory exhaustion. This may lead to the site becoming unavailable or unresponsive (denial of service).

This vulnerability can be exploited by anonymous users.

CVE identifier(s) issued

Session hijacking (Drupal 6 and 7): CVE-2014-9015

Denial of service (Drupal 7): CVE-2014-9016

Versions affected

Drupal core 6.x versions prior to 6.34.

Drupal core 7.x versions prior to 7.34.

Solution

Install the latest version:

If you use Drupal 6.x, upgrade to Drupal core 6.34.

If you use Drupal 7.x, upgrade to Drupal core 7.34.

If you have configured a custom session.inc file for your Drupal 6 or Drupal 7 site you also need to make sure that it is not prone to the same session hijacking vulnerability disclosed in this security advisory.

If you have configured a custom password.inc file for your Drupal 7 site you also need to make sure that it is not prone to the same denial of service vulnerability disclosed in this security advisory. See also the similar security advisory for the Drupal 6 contributed Secure Password Hashes module: SA-CONTRIB-2014-113

Also see the Drupal core project page.

Reported by

Session hijacking:

Denial of service:

Fixed by

Session hijacking:

Klaus Purer of the Drupal Security Team

David Rothstein of the Drupal Security Team

Peter Wolanin of the Drupal Security Team

Denial of service:

Klaus Purer of the Drupal Security Team

Peter Wolanin of the Drupal Security Team

Heine Deelstra of the Drupal Security Team

Tom Phethean

Coordinated by

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

Edits to this advisory since publishing