• Advisory ID: DRUPAL-SA-CONTRIB-2009-046
  • Project: Date (third-party module)
  • Version: 6.x
  • Date: 2009-July-29
  • Security risk: Moderately critical
  • Exploitable from: Remote
  • Vulnerability: Cross Site Scripting

Description

The Date module provides a date CCK field that can be added to any content type. The Date Tools module that is bundled with Date module does not properly escape user input when displaying labels for fields on a content type. A malicious user with the 'use date tools' permission of the Date Tools sub-module, or the 'administer content types' permission could attempt a cross site scripting (XSS) attack when creating a new content type, leading to the user gaining full administrative access.

Versions affected

  • Date for Drupal 6.x prior to 6.x-2.3

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

Solution

Upgrade to the latest version:

Note that the 'use date tools' permission has been renamed as 'administer date tools' to clarify that this is an administrative permission (it allows the creation of new content types via a wizard form). You will need to re-assign this permission to any roles that were using it.

See also the Date project page.

Reported by

Stella Power of the Drupal Security Team

Fixed by

Stella Power and Karen Stevenson, the project maintainer.

Contact

The security contact for Drupal can be reached at security at drupal.org or via the form at http://drupal.org/contact.